jufubao-food 1.0.12-beta2 → 1.0.12-beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-food",
3
- "version": "1.0.12-beta2",
3
+ "version": "1.0.12-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -8,12 +8,11 @@ module.exports = [
8
8
  {
9
9
  mapFnName: "getFoodCartConfirm",
10
10
  title: "确认订单产品列表",
11
- path: "/food/v1/order/confirm",
11
+ path: "/hourdash/v1/order/confirm/:cart_order_id",
12
12
  isRule: false,
13
- data: {
13
+ params: {
14
14
  namespace: ['namespace', 'String', true],
15
15
  cart_order_id: ['cart_order_id', 'String', true],
16
- address_nnid: ['收货地址', 'String', true],
17
16
  delivery_method: ['投递方式', 'String', false],
18
17
  blessings: ['祝福语', 'String', false],
19
18
  subscribeTimeInfo: ['配送时间', 'String', false]
@@ -93,4 +92,40 @@ module.exports = [
93
92
  isConsole: true,
94
93
  disabled: true
95
94
  },
95
+ {
96
+ mapFnName: "getPayMethod",
97
+ title: "订单支付-获取支付列表",
98
+ path: "/pay/v1/wallet/list-user-available-pay-method",
99
+ isRule: false,
100
+ params: {
101
+ support_methods: ['元宝:wallet 积分: score 补差:third 卡券:card', 'Array', true],
102
+ },
103
+ isConsole: true,
104
+ disabled: true
105
+ },
106
+ {
107
+ mapFnName: 'createFoodOrder',
108
+ title: '创建订单',
109
+ path: '/hourdash/v1/order/submit/:cart_order_id',
110
+ isRule: false,
111
+ data: {
112
+ selected_card_list_json: ['被操作的卡券的卡号', 'String', '必选'],
113
+ buy_product: ['临时订单号', 'Number', '必选'],
114
+ need_pay_price: ['仍需支付金额', 'Number', '必选'],
115
+ },
116
+ isConsole: true,
117
+ disabled: true,
118
+ },
119
+ {
120
+ mapFnName: "getVipList",
121
+ title: "会员中心 - 会员卡列表",
122
+ path: "/member/v1/vip-card",
123
+ isRule: false,
124
+ params: {
125
+ namespace: ['业务线', 'String', true],
126
+ is_show_exchange_code: ['是否展示 兑换码 ', 'Y/N,默认N', false],
127
+ },
128
+ isConsole: true,
129
+ disabled: true
130
+ }
96
131
  ];