|
@@ -133,7 +133,7 @@ const getInterfaceColumn = (col, needReq = false) => {
|
|
|
const fc = [];
|
|
|
const { type, zh, title, required } = col;
|
|
|
const modelType = getModelType(type, true);
|
|
|
- fc.push(` @ApiProperty({ description: '${title}' })`);
|
|
|
+ fc.push(` @ApiProperty({ description: '${zh}' })`);
|
|
|
if (needReq) {
|
|
|
let ruleStr = '';
|
|
|
let rt = '';
|