From 400c712a036e97878fe63944ed2cfba303ab178c Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期一, 06 五月 2024 14:23:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
server/visits/dmvisit_admin/src/main/java/com/doumee/api/cloud/CategoryCloudController.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/server/visits/dmvisit_admin/src/main/java/com/doumee/api/cloud/CategoryCloudController.java b/server/visits/dmvisit_admin/src/main/java/com/doumee/api/cloud/CategoryCloudController.java
index 40ae252..7c54ff8 100644
--- a/server/visits/dmvisit_admin/src/main/java/com/doumee/api/cloud/CategoryCloudController.java
+++ b/server/visits/dmvisit_admin/src/main/java/com/doumee/api/cloud/CategoryCloudController.java
@@ -35,6 +35,7 @@
@PostMapping("/create")
@CloudRequiredPermission("business:category:create")
public ApiResponse create(@RequestBody Category category,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){
+ category.setLoginUserInfo(this.getLoginUser(token));
return ApiResponse.success(categoryService.create(category));
}
--
Gitblit v1.9.3