chore: 修改权限判断字段从summary改成description

This commit is contained in:
xiaojunnuo
2026-03-15 16:20:20 +08:00
parent b88ee33ae4
commit 25e361b9f9
60 changed files with 385 additions and 385 deletions
@@ -22,7 +22,7 @@ export class TransferController extends BaseController {
* @param body
* @returns
*/
@Post('/selfResources', { summary: Constants.per.authOnly })
@Post('/selfResources', { description: Constants.per.authOnly })
async selfResources() {
const userId = this.getUserId();
const res = await this.service.getUserResources(userId);
@@ -34,7 +34,7 @@ export class TransferController extends BaseController {
* @param body
* @returns
*/
@Post('/doTransfer', { summary: Constants.per.authOnly })
@Post('/doTransfer', { description: Constants.per.authOnly })
async doTransfer() {
const {projectId} = await this.getProjectUserIdRead();
const userId = this.getUserId();