mirror of
https://github.com/certd/certd.git
synced 2026-07-17 03:17:34 +08:00
chore: 修改权限判断字段从summary改成description
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user