config.php
9.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<?php
return [
[
'name' => 'ini',
'title' => '客户端配置',
'type' => 'array',
'value' => [
'name' => '新零售商城',
'logo' => '/assets/addons/wanlshop/img/common/logo.png',
'copyright' => '2021 深圳前海万联科技有限公司',
'urlschemes' => 'wanlshop',
'package_name' => 'com.wanlian.www',
'cdnurl' => 'https://wanlshop.brofirst.cn/',
'appurl' => 'https://wanlshop.brofirst.cn/api',
'socketurl' => 'wss://chatwanlshop.brofirst.cn',
'debug' => 'N',
],
'rule' => '',
'msg' => '',
'tip' => '客户端参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_amap',
'title' => '高德地图SDK配置',
'type' => 'array',
'value' => [
'amapkey_web' => '0a9f67a6f8f7cc3315d30846a0fde88b',
'amapkey_ios' => 'd8b84cf540bcca9928db69b0119fc152',
'amapkey_android' => '6c3f7522aab215e0704225adaad9f73e',
],
'rule' => '',
'msg' => '',
'tip' => '高德地图SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_qq',
'title' => '腾讯开放SDK配置',
'type' => 'array',
'value' => [
'qq_appid' => '10******36',
'gz_appid' => 'wx******************e9',
'wx_appid' => 'wx******************88',
'wx_appsecret' => '22***************************cc',
'wx_universal_links' => 'https://wanlshop.com/',
'mch_id' => '16******75',
'key' => 'Hr***************************ew',
'notify_url' => '/wanlshop/callback/notify/type/wechat',
'pay_cert' => 0,
],
'rule' => '',
'msg' => '',
'tip' => '腾讯开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_alipay',
'title' => '支付宝SDK配置',
'type' => 'array',
'value' => [
'app_id' => '20************21',
'notify_url' => '/wanlshop/callback/notify/type/alipay',
'return_url' => '/wanlshop/callback/return/type/alipay',
'ali_public_key' => '',
'private_key' => '',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_weibo',
'title' => '微博开放SDK配置',
'type' => 'array',
'value' => [
'appkey' => '35********94',
'appsecret' => '0a********************************7f',
'redirect_uri' => '/wanlshop/callback/weibo',
],
'rule' => '',
'msg' => '',
'tip' => '微博开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'kuaidi',
'title' => '快递100 SDK',
'type' => 'array',
'value' => [
'secretKey' => 'gm********34',
'callbackUrl' => '/wanlshop/callback/kuaidi',
],
'rule' => '',
'msg' => '',
'tip' => '快递100 SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'h5',
'title' => 'H5客户端',
'type' => 'array',
'value' => [
'domain' => 'https://m.wanlshop.com',
'title' => '新零售电商平台',
'router_mode' => 'hash',
'router_base' => './',
'https' => 'N',
'qqmap_key' => 'V3JBZ-C7Z36-BL7S6-M67TX-6WORS-2TBMN',
],
'rule' => '',
'msg' => '',
'tip' => 'H5客户端配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_weixin',
'title' => '微信小程序',
'type' => 'array',
'value' => [
'appid' => 'wx2ba05b0561157f0e',
'appsecret' => 'e59bef6853410d0897ef1e81c5597d68',
'scope_userLocation' => '演示定位能力',
],
'rule' => '',
'msg' => '',
'tip' => '微信小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_alipay',
'title' => '支付宝小程序',
'type' => 'array',
'value' => [
'appid' => '20**********76',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_baidu',
'title' => '百度小程序',
'type' => 'array',
'value' => [
'appid' => '',
'appsecret' => '',
],
'rule' => '',
'msg' => '',
'tip' => '百度小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_toutiao',
'title' => '头条小程序',
'type' => 'array',
'value' => [
'appid' => '',
'appsecret' => '',
],
'rule' => '',
'msg' => '',
'tip' => '头条小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_qq',
'title' => 'QQ小程序',
'type' => 'array',
'value' => [
'appid' => '11*****49',
'appsecret' => 'EV***************HX',
],
'rule' => '',
'msg' => '',
'tip' => 'QQ小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'style',
'title' => '样式配置',
'type' => 'array',
'value' => [
'category_style' => '4',
'find_bg_color' => '#f7f7f7',
'find_bg_image' => '/assets/addons/wanlshop/img/find/top_bg.png',
'find_font_color' => 'light',
'cart_nav_image' => '',
'cart_nav_color' => '',
'cart_font_color' => '',
'user_nav_color' => '#ffeccc',
'user_nav_image' => '/assets/addons/wanlshop/img/user/top_bg.png',
'user_bg_color' => '#ffeccc',
'user_bg_image' => '/assets/addons/wanlshop/img/user/user_bg.png',
'user_font_color' => '',
],
'rule' => '',
'msg' => '',
'tip' => 'App样式配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'config',
'title' => '动态客户端配置',
'type' => 'array',
'value' => [
'store_audit' => 'Y',
'comment_switch' => 'Y',
'tel_phone' => '0775-12345678',
'working_hours' => '09:00~22:00',
'shop_document' => '',
'shop_qun' => '',
'user_agreement' => '153',
'privacy_protection' => '154',
'help_category' => '1',
'new_category' => '2',
'sys_category' => '4',
'auth_reply' => '欢迎使用在线客服',
'not_online' => '[汗] 非工作时间8:00-22:00 或客服繁忙!请稍后再试~',
'service_initial' => '您好 [微笑] 请用一句话简短描述问题~',
'mp_weixin_id' => 'wx***************4b',
],
'rule' => '',
'msg' => '',
'tip' => 'App参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'order',
'title' => '订单配置',
'type' => 'array',
'value' => [
'cancel' => '3',
'receiving' => '7',
'comment' => '7',
'customer' => '7',
'autoagree' => '3',
'returntime' => '7',
'receivingtime' => '7',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'find',
'title' => '直播配置',
'type' => 'array',
'value' => [
'app_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'mp_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'h5_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'live',
'title' => '直播配置',
'type' => 'array',
'value' => [
'liveDomain' => 'live.wanlshop.com',
'pushDomain' => 'rtmp.wanlshop.com',
'builderTime' => '60',
'pushKey' => '0*****v',
'liveKey' => 'l*****d',
'liveCnd' => 'https://play.wanlshop.com',
'appName' => 'wanlshop',
'transTemplate' => 'ld',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'withdraw',
'title' => '提现配置',
'type' => 'array',
'value' => [
'state' => 'Y',
'minmoney' => 100,
'monthlimit' => 0,
'servicefee' => 6,
],
'rule' => '',
'msg' => '',
'tip' => '商城提现参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'string',
'content' => [],
'value' => '不需要此处配置任何参数,请在 [多用户商城] - [客户端管理]和[系统管理] 中管理配置',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
];