jufubao-base 1.0.168 → 1.0.169-beta2

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.
@@ -1,13 +1,153 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  module.exports = {
4
-
5
- getTfkByIdFilmSquate:{},
6
-
7
- updateTfkFilmPaiqiDate:{},
8
-
9
- removeTfkFilmAddress:{},
10
-
11
- addTfkFilmcart:{},
12
-
13
- }
4
+ getTfkCardDetail: {
5
+ card_number: "101001000008485",
6
+ card_point: 87385,
7
+ card_type_name: "聚福宝福",
8
+ end_time: "2025-05-30",
9
+ card_status: "Y",
10
+ card_status_name: "开启",
11
+ card_qrcode:
12
+ "//sandbox-apis.jufubao.cn/common/v1/image/qrcode?code_content=h.161.30ayup33qsjt3vn",
13
+ barcode:
14
+ "//sandbox-apis.jufubao.cn/common/v1/image/barcode?code_content=h.161.30ayup33qsjt3vn",
15
+ card_qrcode_expire: 600,
16
+ unit: "点",
17
+ main_business_code_name: "",
18
+ other_card_point: 2480,
19
+ is_exchange: "N",
20
+ exchange_card_type_name: "福券",
21
+ exchange_card_point: 86511,
22
+ card_point_type: 2,
23
+ is_show_qrcode_logo: "Y",
24
+ is_can_unbind: "Y",
25
+ is_can_transfer: "Y",
26
+ site_entry_settings: [
27
+ {
28
+ id: 63,
29
+ business_code: "cake",
30
+ entry_name: "外长",
31
+ image_url: "/uploads/20240425/88ea82ff86ce3afd30a917b0a239d2b0.png",
32
+ redirect_data:
33
+ '{"path":"\\/thirdmall-apiuri\\/v1\\/cake\\/qm\\/index?q=1&c=112345"}',
34
+ custom_redirect_data: '""',
35
+ redirect_type: "URL",
36
+ group_id: "default"
37
+ },
38
+ {
39
+ id: 68,
40
+ business_code: "cake",
41
+ entry_name: "蛋糕",
42
+ image_url: "/uploads/20240619/fe6dad0f393147fe7a2b76bc1e8a636f.png",
43
+ redirect_data:
44
+ '{"dir":"xismalpp","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/cake\\/index","appType":"wxmp","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/xismalpp\\/main\\/cake\\/index","frontPath":"\\/xismalpp\\/main\\/cake\\/index","fixed_business_code":"cake"}',
45
+ custom_redirect_data: '""',
46
+ redirect_type: "INN",
47
+ group_id: "default"
48
+ },
49
+ {
50
+ id: 76,
51
+ business_code: "mall",
52
+ entry_name: "自定义",
53
+ image_url: "/uploads/20240625/f29463609ae7b125d13402b507f2497a.png",
54
+ redirect_data:
55
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/cake\\/index","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/cake\\/index","frontPath":"\\/apply\\/main\\/cake\\/index","fixed_business_code":""}',
56
+ custom_redirect_data: '""',
57
+ redirect_type: "INN",
58
+ group_id: "default"
59
+ },
60
+ {
61
+ id: 69,
62
+ business_code: "movie",
63
+ entry_name: "电影",
64
+ image_url: "/uploads/20240619/800d5e4ed86f9eb3f626782b4d0a3727.png",
65
+ redirect_data:
66
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/movie\\/index","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/movie\\/index","frontPath":"\\/apply\\/main\\/movie\\/index","fixed_business_code":""}',
67
+ custom_redirect_data: '""',
68
+ redirect_type: "INN",
69
+ group_id: "default"
70
+ },
71
+ {
72
+ id: 64,
73
+ business_code: "10755f84",
74
+ entry_name: "礼包通兑",
75
+ image_url: "/uploads/20240522/e409ca3b28c6ec29aab406eda30b76ab.png",
76
+ redirect_data:
77
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/giftpack\\/giftlist","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/giftpack\\/giftlist","frontPath":"\\/apply\\/main\\/giftpack\\/giftlist","fixed_business_code":""}',
78
+ custom_redirect_data: '""',
79
+ redirect_type: "INN",
80
+ group_id: "default"
81
+ },
82
+ {
83
+ id: 24,
84
+ business_code: "gift",
85
+ entry_name: "礼包",
86
+ image_url: "/uploads/20230927/5959ca4f9e0a2967bee659c8b3a624e0.png",
87
+ redirect_data:
88
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/gift\\/type","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/gift\\/type","frontPath":"\\/apply\\/main\\/gift\\/type","fixed_business_code":""}',
89
+ custom_redirect_data: '""',
90
+ redirect_type: "INN",
91
+ group_id: "default"
92
+ },
93
+ {
94
+ id: 17,
95
+ business_code: "video",
96
+ entry_name: "网络视听",
97
+ image_url: "/uploads/20230927/1ca9647b7ddd9937054792412d3c2367.png",
98
+ redirect_data:
99
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/video\\/index","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/video\\/index","frontPath":"\\/apply\\/main\\/video\\/index","fixed_business_code":""}',
100
+ custom_redirect_data: '""',
101
+ redirect_type: "INN",
102
+ group_id: "default"
103
+ },
104
+ {
105
+ id: 66,
106
+ business_code: "market",
107
+ entry_name: "商城",
108
+ image_url:
109
+ "/uploads/20240710/c156260ee4d1ebb8cb5eaf88bc0e65e6.pic.jpg.png",
110
+ redirect_data:
111
+ '{"dir":"apply06","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/mall\\/index","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply06\\/main\\/mall\\/index","frontPath":"\\/apply06\\/main\\/mall\\/index","fixed_business_code":""}',
112
+ custom_redirect_data: '""',
113
+ redirect_type: "INN",
114
+ group_id: "default"
115
+ },
116
+ {
117
+ id: 57,
118
+ business_code: "movie",
119
+ entry_name: "在线选座",
120
+ image_url: "/uploads/20230927/74fcb8bf1bf617249eee5f1416533766.png",
121
+ redirect_data:
122
+ '{"dir":"apply06","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/movie\\/index","appType":"h5","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply06\\/main\\/movie\\/index","frontPath":"\\/apply06\\/main\\/movie\\/index","fixed_business_code":""}',
123
+ custom_redirect_data: '""',
124
+ redirect_type: "INN",
125
+ group_id: "default"
126
+ },
127
+ {
128
+ id: 16,
129
+ business_code: "play",
130
+ entry_name: "演出",
131
+ image_url: "/uploads/20230927/07e1d76f1850fbadc9a12d7ff2d7689c.png",
132
+ redirect_data:
133
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/play\\/index","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/play\\/index","frontPath":"\\/apply\\/main\\/play\\/index","fixed_business_code":""}',
134
+ custom_redirect_data: '""',
135
+ redirect_type: "INN",
136
+ group_id: "default"
137
+ },
138
+ {
139
+ id: 61,
140
+ business_code: "v-RcA8Mv-Gpd96_Y_mjIf",
141
+ entry_name: "saas",
142
+ image_url: "/uploads/20240222/8fc21a6e38d32355ab77f5f7824d36e5.png",
143
+ redirect_data:
144
+ '{"dir":"apply","host":"sandbox-website-05.jufubao.cn","path":"\\/main\\/saas\\/login","site_id":"17928cc37788be02","site_url":"https:\\/\\/sandbox-website-05.jufubao.cn\\/apply\\/main\\/saas\\/login","frontPath":"\\/apply\\/main\\/saas\\/login","fixed_business_code":"cake"}',
145
+ custom_redirect_data: '""',
146
+ redirect_type: "INN",
147
+ group_id: "default"
148
+ }
149
+ ],
150
+ business_codes: ["movie", "market", "cake", "book", "video"],
151
+ request_id: "16a264d91d55265d"
152
+ }
153
+ };
@@ -6,51 +6,36 @@
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Tfk
10
- mapFnName: 'getTfkByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
9
+ mapFnName: 'getTfkListCardBind',
13
10
  isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
- },
18
- isConsole: true,
19
- disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Tfk
23
- mapFnName: 'updateTfkFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
26
- isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
31
- isConsole: true,
11
+ title: '获得绑定卡列表',
12
+ prefix: 'list',
13
+ path: '/card/v1/card-bind/list-bind-card',
14
+ params: {},
32
15
  disabled: true,
33
16
  },
34
17
  {
35
- //设置方法名字当别忘记加上【模块名字】:Tfk
36
- mapFnName: 'removeTfkFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
18
+ mapFnName: 'loginTfkCardBind',
39
19
  isRule: false,
40
- params: {
41
- film_id: ['电影id', 'Number', '必选'],
20
+ title: '登录卡',
21
+ prefix: 'login',
22
+ path: '/card/v1/card-bind/login-card',
23
+ data: {
24
+ card_number: ['卡号', 'String', '必选'],
42
25
  },
43
- isConsole: true,
44
26
  disabled: true,
45
27
  },
46
28
  {
47
- //设置方法名字当别忘记加上【模块名字】:Tfk
48
- mapFnName: 'addTfkFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
29
+ mapFnName: 'getListBaseNewsContent', //自定义方法名字(必选)
30
+ title: '获取内容',
31
+ path: '/cms/v1/news-content',
51
32
  isRule: false,
52
33
  params: {
53
- film_id: ['电影id', 'Number', '必选'],
34
+ scene: ['使用场景', 'String', '选填'],
35
+ container_id: ['插件ID', 'String', '必填'],
36
+ page_id: ['页面ID', 'String', '必填'],
37
+ page_size: ['记录条数', 'Number', '必填', 1],
38
+ code: ['业务线id', 'String', '选填'],
54
39
  },
55
40
  isConsole: true,
56
41
  disabled: true,