feat(creator): 后台录入创作者即通过并可直接开号
This commit is contained in:
1 parent
af0bf7f90e
commit
9b2833dfd3
3 files changed
+13
-13
No files matched your search
+4
-4
@@ -70,8 +70,8 @@ public class CreatorAdminController {
|
||||
return Result.ok(creatorService.audit(id, req, SecurityUtils.getUserId()));
|
||||
}
|
||||
|
||||
/** 手工录入创作者主体(C 端申请入驻还没实现,先用它打通链路)。 */
|
||||
@Operation(summary = "手工录入创作者主体")
|
||||
/** 手工录入创作者主体:录入即通过,可直接开号。 */
|
||||
@Operation(summary = "手工录入创作者主体(录入即通过)")
|
||||
@PostMapping
|
||||
@PreAuthorize("@ss.hasPermission('creator:audit')")
|
||||
@OperationLog(module = "创作者管理", action = "新增创作者")
|
||||
@@ -79,8 +79,8 @@ public class CreatorAdminController {
|
||||
return Result.ok(creatorService.create(req));
|
||||
}
|
||||
|
||||
/** 开通创作者账号:仅审核通过可开;已开通则幂等返回,不重复建号。 */
|
||||
@Operation(summary = "开通创作者账号(仅审核通过可开通,幂等)")
|
||||
/** 开通创作者账号:不再校验入驻审核,仅冻结状态拒绝;已开通则幂等返回。 */
|
||||
@Operation(summary = "开通创作者账号(仅冻结状态拒绝,幂等)")
|
||||
@PostMapping("/{id}/account")
|
||||
@PreAuthorize("@ss.hasPermission('creator:account')")
|
||||
@OperationLog(module = "创作者管理", action = "开通创作者账号")
|
||||
|
||||
Reference in new issue
Block a user