zs 1 年之前
父節點
當前提交
71d0facf02

+ 2 - 0
src/entity/Config.entity.ts

@@ -10,4 +10,6 @@ export class Config extends BaseModel {
   boy_url: Array<any>;
   @prop({ required: false, index: false, zh: '女头像' })
   girl_url: Array<any>;
+  @prop({ required: false, index: false, zh: '底部文案' })
+  bottom_title: string;
 }

+ 5 - 0
src/interface/Config.interface.ts

@@ -20,6 +20,8 @@ export class FVO_Config {
   'boy_url': Array<any> = undefined;
   @ApiProperty({ description: '女头像' })
   'girl_url': Array<any> = undefined;
+  @ApiProperty({ description: '底部文案' })
+  'bottom_title': string = undefined;
 }
 
 export class QDTO_Config extends SearchBase {
@@ -48,6 +50,9 @@ export class CDTO_Config {
   @ApiProperty({ description: '女头像' })
   @Rule(RuleType['array']().empty(''))
   'girl_url': Array<any> = undefined;
+  @ApiProperty({ description: '底部文案' })
+  @Rule(RuleType['string']().empty(''))
+  'bottom_title': string = undefined;
 }
 
 export class CVO_Config extends FVO_Config {

+ 1 - 1
src/interface/Good.interface.ts

@@ -32,7 +32,7 @@ export class FVO_Good {
 
 export class QDTO_Good extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = ['name', 'type', 'supplier_id', 'is_use'];
     const mapping = [];
     super({ like_prop, props, mapping });

+ 1 - 1
src/interface/Specs.interface.ts

@@ -32,7 +32,7 @@ export class FVO_Specs {
 
 export class QDTO_Specs extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = ['goods', 'name', 'is_use'];
     const mapping = [];
     super({ like_prop, props, mapping });