修改几个module的定义

This commit is contained in:
zhl 2021-05-11 12:10:00 +08:00
parent a8d63eb715
commit 5596f1d2f5
4 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,6 @@ import { isObjectId } from '../../utils/string.util'
class PuzzleController extends BaseController {
//TODO:: 增加字段, 表明该次是普通开局还是降低难度开局
@role('anon')
@router('post /api/:accountid/puzzle/list')
async list(req, res) {

View File

@ -125,7 +125,7 @@ export class PuzzleSessionClass extends BaseModule {
*
* @type {string[]}
*/
@prop()
@prop({ type: () => [String] })
public qtypes: string[]
/**
*

View File

@ -106,7 +106,7 @@ class ShopClass extends BaseModule {
*
* @type {string[]}
*/
@prop()
@prop({ type: () => [String] })
public qtypes: string[]

View File

@ -49,7 +49,7 @@ export class ShopActivityClass extends BaseModule {
*
* @type {string[]}
*/
@prop()
@prop({ type: () => [String] })
public qtypes: string[]
/**
*