diff --git a/init/data.json b/init/data.json index a4f834e..f80a8b1 100644 --- a/init/data.json +++ b/init/data.json @@ -1,4 +1,10 @@ { + "organization": [ + { + "id": "*", + "orgname": "全部客户" + } + ], "appcodes": [ { "id": "promo_code_type", diff --git a/models/discount.json b/models/discount.json index ff31827..ecd6a2f 100644 --- a/models/discount.json +++ b/models/discount.json @@ -29,18 +29,11 @@ }, { "name": "customerid", - "title": "客户id", + "title": "客户id(*表示全部客户)", "type": "str", "length": 32, "default": "*" }, - { - "name": "discount", - "title": "折扣", - "type": "float", - "length": 5, - "dec": 4 - }, { "name": "enabled_date", "title": "启用日期",