old mode 100644
new mode 100755
| | |
| | | { |
| | | "templateName": "拼团设置", |
| | | "directories": "goods", |
| | | "templateCode": "groupBuySetting", |
| | | "templateKey": "settingId", |
| | | "templateKeyName": "设置ID", |
| | | "searchCode": "settingId", |
| | | "searchName": "设置ID", |
| | | "conditions": [ |
| | | { |
| | | "name": "拼团名称", |
| | | "inputType": "input", |
| | | "code": "groupBuyName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "拼团时效", |
| | | "inputType": "input", |
| | | "code": "validHours", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "设置ID", |
| | | "inputType": "input", |
| | | "code": "settingId", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "templateKeyName": "商家购买记录表ID", |
| | | "templateName": "商家购买记录表", |
| | | "columns": [ |
| | | { |
| | | "code": "groupBuyName", |
| | | "cnCode": "拼团名称", |
| | | "desc": "必填,请填写拼团名称", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "30", |
| | | "code": "detailId", |
| | | "limitErrInfo": "记录ID不能超过30", |
| | | "cnCode": "记录ID", |
| | | "limit": "maxLength", |
| | | "limitParam": "256", |
| | | "limitErrInfo": "拼团名称不能超过256位", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,记录ID" |
| | | }, |
| | | { |
| | | "code": "groupBuyDesc", |
| | | "cnCode": "拼团简介", |
| | | "desc": "必填,请填写拼团简介", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "30", |
| | | "code": "poolId", |
| | | "limitErrInfo": "优惠券不能超过30", |
| | | "cnCode": "优惠券", |
| | | "limit": "maxLength", |
| | | "limitParam": "500", |
| | | "limitErrInfo": "拼团简介不能超过500位", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,优惠券" |
| | | }, |
| | | { |
| | | "code": "validHours", |
| | | "cnCode": "拼团时效", |
| | | "desc": "必填,请填写拼团时效", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "shopId", |
| | | "limitErrInfo": "店铺ID不能超过30", |
| | | "cnCode": "店铺ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit": "num", |
| | | "limitParam": "", |
| | | "limitErrInfo": "拼团时效不是有效数字", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,店铺ID" |
| | | }, |
| | | { |
| | | "code": "startTime", |
| | | "cnCode": "开始时间", |
| | | "desc": "必填,请填写开始时间", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "64", |
| | | "code": "couponName", |
| | | "limitErrInfo": "优惠券名称不能超过64", |
| | | "cnCode": "优惠券名称", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit": "datetime", |
| | | "limitParam": "", |
| | | "limitErrInfo": "开始时间不是有效日期", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,优惠券名称" |
| | | }, |
| | | { |
| | | "code": "endTime", |
| | | "cnCode": "结束时间", |
| | | "desc": "必填,请填写结束时间", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "actualPrice", |
| | | "limitErrInfo": "面值不能超过10", |
| | | "cnCode": "面值", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit": "datetime", |
| | | "limitParam": "", |
| | | "limitErrInfo": "结束时间不是有效日期", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,面值" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "buyPrice", |
| | | "limitErrInfo": "购买价格不能超过10", |
| | | "cnCode": "购买价格", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买价格" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "amount", |
| | | "limitErrInfo": "付款金额不能超过10", |
| | | "cnCode": "付款金额", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,付款金额" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "buyCount", |
| | | "limitErrInfo": "购买数量不能超过20", |
| | | "cnCode": "购买数量", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买数量" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "validityDay", |
| | | "limitErrInfo": "有效期不能超过20", |
| | | "cnCode": "有效期", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,有效期" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "`detail_id`", |
| | | "code": "primary", |
| | | "limitErrInfo": "primary不能超过`detail_id`", |
| | | "cnCode": "primary", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "primary" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "searchName": "商家购买记录表ID", |
| | | "directories": "admin", |
| | | "searchCode": "detailId", |
| | | "templateCode": "couponDetail", |
| | | "conditions": [ |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "poolId", |
| | | "name": "优惠券", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "shopId", |
| | | "name": "店铺ID", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "validityDay", |
| | | "name": "有效期", |
| | | "inputType": "input" |
| | | } |
| | | ], |
| | | "templateKey": "detailId" |
| | | } |