deeke-script-app 1.7.7 → 1.7.9
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/@deekeScript/@type/Class/Global.d.ts +1 -1
- package/@deekeScript/@type/Class/Rect.d.ts +16 -16
- package/@deekeScript/@type/Class/UiSelector.d.ts +201 -201
- package/@deekeScript/@type/Class/WebSocket.d.ts +49 -49
- package/@deekeScript/@type/interface/Access.d.ts +174 -141
- package/@deekeScript/@type/interface/App.d.ts +101 -101
- package/@deekeScript/@type/interface/DeekeScriptJson.d.ts +13 -13
- package/@deekeScript/@type/interface/Device.d.ts +233 -212
- package/@deekeScript/@type/interface/Encrypt.d.ts +58 -58
- package/@deekeScript/@type/interface/Engines.d.ts +39 -39
- package/@deekeScript/@type/interface/Files.d.ts +283 -283
- package/@deekeScript/@type/interface/FloatDialogs.d.ts +47 -47
- package/@deekeScript/@type/interface/ForegroundServiceBridge.d.ts +31 -31
- package/@deekeScript/@type/interface/Hid.d.ts +342 -342
- package/@deekeScript/@type/interface/Http.d.ts +94 -94
- package/@deekeScript/@type/interface/Images.d.ts +71 -71
- package/@deekeScript/@type/interface/Java.d.ts +7 -7
- package/@deekeScript/@type/interface/KeyBoards.d.ts +54 -54
- package/@deekeScript/@type/interface/Log.d.ts +16 -16
- package/@deekeScript/@type/interface/MediaStore.d.ts +146 -146
- package/@deekeScript/@type/interface/NotificationBridge.d.ts +28 -28
- package/@deekeScript/@type/interface/SocketIOClient.d.ts +76 -76
- package/@deekeScript/@type/interface/Storage.d.ts +119 -119
- package/@deekeScript/@type/interface/System.d.ts +132 -120
- package/@deekeScript/@type/interface/UiObject.d.ts +202 -202
- package/README.md +67 -67
- package/deekeScript.json +672 -670
- package/deekeScript.schema.json +686 -681
- package/deekeScriptZipBuild +48 -48
- package/gulpfile +17 -17
- package/images/test/statistics.png +0 -0
- package/init +32 -32
- package/jsconfig.json +11 -11
- package/package.json +43 -43
- package/script/statistics/statistics.js +120 -120
- package/script/task/douyin_zan.js +37 -37
- package/script/task/dy.js +6 -6
- package/script/task/dyApp.js +6 -6
- package/script/task/tool.js +9 -9
- package/script/task.html +4 -4
- package/src/statistics/statistics.js +120 -120
- package/src/task/douyin_zan.js +89 -89
- package/src/task/dy.js +14 -14
- package/src/task/dyApp.js +7 -7
- package/src/task/tool.js +19 -19
- package/src/task.html +4 -4
- package/test.json +132 -132
- package/uglify-config.json +15 -15
- package/update-types.js +118 -118
package/deekeScript.schema.json
CHANGED
|
@@ -1,681 +1,686 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "DeekeScript 配置文件",
|
|
4
|
-
"description": "DeekeScript Android 项目配置文件,用于动态渲染页面",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["name", "versionCode", "versionName", "icon", "host", "switchSetting", "groups", "bottomMenus", "settingLists", "apis"],
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "JSON Schema 引用路径"
|
|
12
|
-
},
|
|
13
|
-
"name": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "App安装成功之后,在手机上的名称"
|
|
16
|
-
},
|
|
17
|
-
"versionCode": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "版本号(软件自动升级凭证,当前版本号大于或者等于后台上传的版本号,则无法升级)"
|
|
20
|
-
},
|
|
21
|
-
"versionName": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "版本名称,尽量和版本号统一(版本号100,则配置为1.0.0)"
|
|
24
|
-
},
|
|
25
|
-
"icon": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "图标建议采用200*200像素的,清晰度大的"
|
|
28
|
-
},
|
|
29
|
-
"head": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "App中用户设置页面的头像,无设置页可以不填"
|
|
32
|
-
},
|
|
33
|
-
"settingTopBg": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "设置页面顶部背景图"
|
|
36
|
-
},
|
|
37
|
-
"debug": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "默认为true(不需要激活码也可以启动脚本),如果需要激活才能使用APP,请设置为false",
|
|
40
|
-
"default": true
|
|
41
|
-
},
|
|
42
|
-
"host": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"description": "接口请求域名",
|
|
45
|
-
"format": "uri"
|
|
46
|
-
},
|
|
47
|
-
"
|
|
48
|
-
"type": "
|
|
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
|
-
"type": "boolean",
|
|
78
|
-
"description": "
|
|
79
|
-
"default": false
|
|
80
|
-
},
|
|
81
|
-
"
|
|
82
|
-
"type": "
|
|
83
|
-
"description": "
|
|
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
|
-
"type": "string",
|
|
142
|
-
"description": "
|
|
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
|
-
"type": "string",
|
|
182
|
-
"description": "API
|
|
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
|
-
"type": "
|
|
216
|
-
"description": "
|
|
217
|
-
"
|
|
218
|
-
},
|
|
219
|
-
"
|
|
220
|
-
"type": "string",
|
|
221
|
-
"description": "
|
|
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
|
-
"type": "
|
|
310
|
-
"description": "
|
|
311
|
-
"
|
|
312
|
-
},
|
|
313
|
-
"
|
|
314
|
-
"type": "
|
|
315
|
-
"description": "
|
|
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
|
-
"
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
"
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
"
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
"
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
"
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
"
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
"
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
"
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
"
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
"
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
"
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
"
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
"
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
"
|
|
473
|
-
"
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
"
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
"
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
"
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
"
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
"
|
|
549
|
-
"
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
"
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
"
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
"
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
"
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
"
|
|
585
|
-
"
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
"
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
"
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
"
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
"
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
"
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
"
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
"
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
"
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}
|
|
681
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "DeekeScript 配置文件",
|
|
4
|
+
"description": "DeekeScript Android 项目配置文件,用于动态渲染页面",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["name", "versionCode", "versionName", "icon", "host", "switchSetting", "bottomMenusHidden", "groups", "bottomMenus", "settingLists", "apis"],
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"$schema": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "JSON Schema 引用路径"
|
|
12
|
+
},
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "App安装成功之后,在手机上的名称"
|
|
16
|
+
},
|
|
17
|
+
"versionCode": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "版本号(软件自动升级凭证,当前版本号大于或者等于后台上传的版本号,则无法升级)"
|
|
20
|
+
},
|
|
21
|
+
"versionName": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "版本名称,尽量和版本号统一(版本号100,则配置为1.0.0)"
|
|
24
|
+
},
|
|
25
|
+
"icon": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "图标建议采用200*200像素的,清晰度大的"
|
|
28
|
+
},
|
|
29
|
+
"head": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "App中用户设置页面的头像,无设置页可以不填"
|
|
32
|
+
},
|
|
33
|
+
"settingTopBg": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "设置页面顶部背景图"
|
|
36
|
+
},
|
|
37
|
+
"debug": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"description": "默认为true(不需要激活码也可以启动脚本),如果需要激活才能使用APP,请设置为false",
|
|
40
|
+
"default": true
|
|
41
|
+
},
|
|
42
|
+
"host": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "接口请求域名",
|
|
45
|
+
"format": "uri"
|
|
46
|
+
},
|
|
47
|
+
"bottomMenusHidden": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"default": false,
|
|
50
|
+
"description": "是否隐藏底部菜单"
|
|
51
|
+
},
|
|
52
|
+
"switchSetting": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"description": "功能开关设置",
|
|
55
|
+
"required": ["alipay"],
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"properties": {
|
|
58
|
+
"alipay": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "支持支付宝支付"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"groups": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"description": "主界面的功能组,每组都会包含若干个功能",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"required": ["title", "methods"],
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"properties": {
|
|
72
|
+
"title": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "App主界面的功能名称"
|
|
75
|
+
},
|
|
76
|
+
"titleHidden": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "App主界面功能组标题是否隐藏,默认不隐藏",
|
|
79
|
+
"default": false
|
|
80
|
+
},
|
|
81
|
+
"hidden": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "是否隐藏当前功能组,默认不隐藏",
|
|
84
|
+
"default": false
|
|
85
|
+
},
|
|
86
|
+
"methods": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"description": "当前功能组下的功能列表",
|
|
89
|
+
"items": {
|
|
90
|
+
"$ref": "#/definitions/method"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"bottomMenus": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"description": "App中底部菜单,可以使用系统内置的,也可以自定义",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"required": ["title", "icon", "type"],
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"properties": {
|
|
104
|
+
"title": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "菜单标题,可使用 {NAME} 占位符"
|
|
107
|
+
},
|
|
108
|
+
"icon": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "菜单图标路径"
|
|
111
|
+
},
|
|
112
|
+
"banner": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "横幅图片路径"
|
|
115
|
+
},
|
|
116
|
+
"type": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "菜单类型",
|
|
119
|
+
"enum": ["home", "speech", "setting"]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"settingLists": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"description": "App中设置页的列表项,可以使用系统内置的,也可以自定义",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"required": ["title", "icon", "type"],
|
|
130
|
+
"additionalProperties": false,
|
|
131
|
+
"properties": {
|
|
132
|
+
"title": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "设置项标题"
|
|
135
|
+
},
|
|
136
|
+
"icon": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "设置项图标路径"
|
|
139
|
+
},
|
|
140
|
+
"type": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "设置项类型",
|
|
143
|
+
"enum": ["customerService", "notice", "settingService", "statistics", "uploadLog", "updateApp", "clear", "qiwei"]
|
|
144
|
+
},
|
|
145
|
+
"description": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "设置项描述"
|
|
148
|
+
},
|
|
149
|
+
"file": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "文件路径(用于 notice 类型)"
|
|
152
|
+
},
|
|
153
|
+
"url": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "接口URL"
|
|
156
|
+
},
|
|
157
|
+
"jsFile": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "JavaScript文件路径"
|
|
160
|
+
},
|
|
161
|
+
"hidden": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"description": "是否隐藏",
|
|
164
|
+
"default": false
|
|
165
|
+
},
|
|
166
|
+
"settingPage": {
|
|
167
|
+
"$ref": "#/definitions/settingPage"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"apis": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"description": "设置相关api,比如激活码api,验证激活码是否有效api等",
|
|
175
|
+
"items": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"required": ["type", "url"],
|
|
178
|
+
"additionalProperties": false,
|
|
179
|
+
"properties": {
|
|
180
|
+
"type": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "API类型",
|
|
183
|
+
"enum": ["bind", "checkBind", "aiSpeechToken", "config", "getToken", "createOrder"]
|
|
184
|
+
},
|
|
185
|
+
"url": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "API接口路径"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"definitions": {
|
|
194
|
+
"method": {
|
|
195
|
+
"type": "object",
|
|
196
|
+
"required": ["title", "icon"],
|
|
197
|
+
"additionalProperties": false,
|
|
198
|
+
"properties": {
|
|
199
|
+
"title": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "App主界面的功能名称"
|
|
202
|
+
},
|
|
203
|
+
"icon": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "App主界面的功能图标"
|
|
206
|
+
},
|
|
207
|
+
"jsFile": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "功能实际执行的代码所在文件"
|
|
210
|
+
},
|
|
211
|
+
"settingPage": {
|
|
212
|
+
"$ref": "#/definitions/settingPage"
|
|
213
|
+
},
|
|
214
|
+
"hidden": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"description": "属性值,当为true的时候,则界面上不再显示此功能模块",
|
|
217
|
+
"default": false
|
|
218
|
+
},
|
|
219
|
+
"runType": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"description": "如果为floatSwitch则需要手动点击右侧悬浮窗执行",
|
|
222
|
+
"enum": ["floatSwitch"]
|
|
223
|
+
},
|
|
224
|
+
"packageName": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"description": "包名,和runType配合使用"
|
|
227
|
+
},
|
|
228
|
+
"columns": {
|
|
229
|
+
"type": "number",
|
|
230
|
+
"description": "每行被等分为24,8则表示当前groups一行放3个功能图标"
|
|
231
|
+
},
|
|
232
|
+
"autoOpen": {
|
|
233
|
+
"type": "boolean",
|
|
234
|
+
"description": "是否自动打开界面(需要和packageName配合使用)"
|
|
235
|
+
},
|
|
236
|
+
"activity": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"description": "活动配置",
|
|
239
|
+
"additionalProperties": false,
|
|
240
|
+
"properties": {
|
|
241
|
+
"notice": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "活动提示"
|
|
244
|
+
},
|
|
245
|
+
"title": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "活动标题"
|
|
248
|
+
},
|
|
249
|
+
"minVersion": {
|
|
250
|
+
"type": "number",
|
|
251
|
+
"description": "最小版本号"
|
|
252
|
+
},
|
|
253
|
+
"groups": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"description": "活动功能组",
|
|
256
|
+
"items": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"additionalProperties": false,
|
|
259
|
+
"properties": {
|
|
260
|
+
"title": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"titleHidden": {
|
|
264
|
+
"type": "boolean"
|
|
265
|
+
},
|
|
266
|
+
"methods": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"items": {
|
|
269
|
+
"$ref": "#/definitions/method"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"settingPage": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"required": ["params"],
|
|
282
|
+
"additionalProperties": false,
|
|
283
|
+
"properties": {
|
|
284
|
+
"params": {
|
|
285
|
+
"type": "array",
|
|
286
|
+
"description": "需要用户设置的参数",
|
|
287
|
+
"items": {
|
|
288
|
+
"$ref": "#/definitions/param"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"param": {
|
|
294
|
+
"oneOf": [
|
|
295
|
+
{
|
|
296
|
+
"type": "object",
|
|
297
|
+
"required": ["type", "title"],
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"properties": {
|
|
300
|
+
"type": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"const": "notice"
|
|
303
|
+
},
|
|
304
|
+
"title": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "标题"
|
|
307
|
+
},
|
|
308
|
+
"hidden": {
|
|
309
|
+
"type": "boolean",
|
|
310
|
+
"description": "是否隐藏",
|
|
311
|
+
"default": false
|
|
312
|
+
},
|
|
313
|
+
"textColor": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"description": "文本颜色",
|
|
316
|
+
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
317
|
+
},
|
|
318
|
+
"textSize": {
|
|
319
|
+
"type": "number",
|
|
320
|
+
"description": "文本大小"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "object",
|
|
326
|
+
"required": ["type", "label", "name", "min", "max", "value"],
|
|
327
|
+
"additionalProperties": false,
|
|
328
|
+
"properties": {
|
|
329
|
+
"type": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"const": "numberRange"
|
|
332
|
+
},
|
|
333
|
+
"label": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"description": "标签文本"
|
|
336
|
+
},
|
|
337
|
+
"name": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"description": "参数名称(用于存储和获取值)"
|
|
340
|
+
},
|
|
341
|
+
"min": {
|
|
342
|
+
"type": "number",
|
|
343
|
+
"description": "最小值"
|
|
344
|
+
},
|
|
345
|
+
"max": {
|
|
346
|
+
"type": "number",
|
|
347
|
+
"description": "最大值"
|
|
348
|
+
},
|
|
349
|
+
"value": {
|
|
350
|
+
"type": "number",
|
|
351
|
+
"description": "默认值"
|
|
352
|
+
},
|
|
353
|
+
"step": {
|
|
354
|
+
"type": "number",
|
|
355
|
+
"description": "步长"
|
|
356
|
+
},
|
|
357
|
+
"hidden": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"description": "是否隐藏",
|
|
360
|
+
"default": false
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "object",
|
|
366
|
+
"required": ["type", "label", "name"],
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"properties": {
|
|
369
|
+
"type": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"const": "textArea"
|
|
372
|
+
},
|
|
373
|
+
"label": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"description": "标签文本"
|
|
376
|
+
},
|
|
377
|
+
"name": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "参数名称(用于存储和获取值)"
|
|
380
|
+
},
|
|
381
|
+
"value": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "默认值"
|
|
384
|
+
},
|
|
385
|
+
"hint": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"description": "提示文本"
|
|
388
|
+
},
|
|
389
|
+
"notice": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"description": "通知文本"
|
|
392
|
+
},
|
|
393
|
+
"lines": {
|
|
394
|
+
"type": "number",
|
|
395
|
+
"description": "行数"
|
|
396
|
+
},
|
|
397
|
+
"hidden": {
|
|
398
|
+
"type": "boolean",
|
|
399
|
+
"description": "是否隐藏",
|
|
400
|
+
"default": false
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "object",
|
|
406
|
+
"required": ["type", "label", "name", "children", "values"],
|
|
407
|
+
"additionalProperties": false,
|
|
408
|
+
"properties": {
|
|
409
|
+
"type": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"const": "checkboxGroup"
|
|
412
|
+
},
|
|
413
|
+
"label": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"description": "标签文本"
|
|
416
|
+
},
|
|
417
|
+
"name": {
|
|
418
|
+
"type": "string",
|
|
419
|
+
"description": "参数名称(用于存储和获取值)"
|
|
420
|
+
},
|
|
421
|
+
"children": {
|
|
422
|
+
"type": "array",
|
|
423
|
+
"description": "子选项",
|
|
424
|
+
"items": {
|
|
425
|
+
"type": "string"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"values": {
|
|
429
|
+
"type": "array",
|
|
430
|
+
"description": "值列表",
|
|
431
|
+
"items": {
|
|
432
|
+
"type": "string"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"columnCount": {
|
|
436
|
+
"type": "number",
|
|
437
|
+
"description": "列数"
|
|
438
|
+
},
|
|
439
|
+
"hidden": {
|
|
440
|
+
"type": "boolean",
|
|
441
|
+
"description": "是否隐藏",
|
|
442
|
+
"default": false
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"type": "object",
|
|
448
|
+
"required": ["type", "label", "name"],
|
|
449
|
+
"additionalProperties": false,
|
|
450
|
+
"properties": {
|
|
451
|
+
"type": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"const": "number"
|
|
454
|
+
},
|
|
455
|
+
"label": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"description": "标签文本"
|
|
458
|
+
},
|
|
459
|
+
"name": {
|
|
460
|
+
"type": "string",
|
|
461
|
+
"description": "参数名称(用于存储和获取值)"
|
|
462
|
+
},
|
|
463
|
+
"value": {
|
|
464
|
+
"type": "number",
|
|
465
|
+
"description": "默认值(数字类型)"
|
|
466
|
+
},
|
|
467
|
+
"hint": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "提示文本"
|
|
470
|
+
},
|
|
471
|
+
"notice": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"description": "通知文本"
|
|
474
|
+
},
|
|
475
|
+
"hidden": {
|
|
476
|
+
"type": "boolean",
|
|
477
|
+
"description": "是否隐藏",
|
|
478
|
+
"default": false
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"type": "object",
|
|
484
|
+
"required": ["type", "label", "name"],
|
|
485
|
+
"additionalProperties": false,
|
|
486
|
+
"properties": {
|
|
487
|
+
"type": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"const": "digit"
|
|
490
|
+
},
|
|
491
|
+
"label": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"description": "标签文本"
|
|
494
|
+
},
|
|
495
|
+
"name": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "参数名称(用于存储和获取值)"
|
|
498
|
+
},
|
|
499
|
+
"value": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"description": "默认值(整数类型)"
|
|
502
|
+
},
|
|
503
|
+
"hint": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "提示文本"
|
|
506
|
+
},
|
|
507
|
+
"notice": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "通知文本"
|
|
510
|
+
},
|
|
511
|
+
"hidden": {
|
|
512
|
+
"type": "boolean",
|
|
513
|
+
"description": "是否隐藏",
|
|
514
|
+
"default": false
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"type": "object",
|
|
520
|
+
"required": ["type", "label", "name", "min", "max", "value"],
|
|
521
|
+
"additionalProperties": false,
|
|
522
|
+
"properties": {
|
|
523
|
+
"type": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"const": "digitRange"
|
|
526
|
+
},
|
|
527
|
+
"label": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "标签文本"
|
|
530
|
+
},
|
|
531
|
+
"name": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"description": "参数名称(用于存储和获取值)"
|
|
534
|
+
},
|
|
535
|
+
"min": {
|
|
536
|
+
"type": "integer",
|
|
537
|
+
"description": "最小值(整数)"
|
|
538
|
+
},
|
|
539
|
+
"max": {
|
|
540
|
+
"type": "integer",
|
|
541
|
+
"description": "最大值(整数)"
|
|
542
|
+
},
|
|
543
|
+
"value": {
|
|
544
|
+
"type": "integer",
|
|
545
|
+
"description": "默认值(整数)"
|
|
546
|
+
},
|
|
547
|
+
"step": {
|
|
548
|
+
"type": "integer",
|
|
549
|
+
"description": "步长(整数)"
|
|
550
|
+
},
|
|
551
|
+
"hidden": {
|
|
552
|
+
"type": "boolean",
|
|
553
|
+
"description": "是否隐藏",
|
|
554
|
+
"default": false
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "object",
|
|
560
|
+
"required": ["type", "label", "name"],
|
|
561
|
+
"additionalProperties": false,
|
|
562
|
+
"properties": {
|
|
563
|
+
"type": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"const": "switch"
|
|
566
|
+
},
|
|
567
|
+
"label": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"description": "标签文本"
|
|
570
|
+
},
|
|
571
|
+
"name": {
|
|
572
|
+
"type": "string",
|
|
573
|
+
"description": "参数名称(用于存储和获取值)"
|
|
574
|
+
},
|
|
575
|
+
"value": {
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"description": "默认值(布尔类型)"
|
|
578
|
+
},
|
|
579
|
+
"hint": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"description": "提示文本"
|
|
582
|
+
},
|
|
583
|
+
"notice": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"description": "通知文本"
|
|
586
|
+
},
|
|
587
|
+
"hidden": {
|
|
588
|
+
"type": "boolean",
|
|
589
|
+
"description": "是否隐藏",
|
|
590
|
+
"default": false
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"type": "object",
|
|
596
|
+
"required": ["type", "label", "name"],
|
|
597
|
+
"additionalProperties": false,
|
|
598
|
+
"properties": {
|
|
599
|
+
"type": {
|
|
600
|
+
"type": "string",
|
|
601
|
+
"const": "text"
|
|
602
|
+
},
|
|
603
|
+
"label": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"description": "标签文本"
|
|
606
|
+
},
|
|
607
|
+
"name": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"description": "参数名称(用于存储和获取值)"
|
|
610
|
+
},
|
|
611
|
+
"value": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"description": "默认值"
|
|
614
|
+
},
|
|
615
|
+
"hint": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"description": "提示文本"
|
|
618
|
+
},
|
|
619
|
+
"notice": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"description": "通知文本"
|
|
622
|
+
},
|
|
623
|
+
"lines": {
|
|
624
|
+
"type": "number",
|
|
625
|
+
"description": "行数(用于多行文本)"
|
|
626
|
+
},
|
|
627
|
+
"hidden": {
|
|
628
|
+
"type": "boolean",
|
|
629
|
+
"description": "是否隐藏",
|
|
630
|
+
"default": false
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"type": "object",
|
|
636
|
+
"required": ["type", "label", "name"],
|
|
637
|
+
"additionalProperties": false,
|
|
638
|
+
"properties": {
|
|
639
|
+
"type": {
|
|
640
|
+
"type": "string",
|
|
641
|
+
"enum": ["radio", "select"]
|
|
642
|
+
},
|
|
643
|
+
"label": {
|
|
644
|
+
"type": "string",
|
|
645
|
+
"description": "标签文本"
|
|
646
|
+
},
|
|
647
|
+
"name": {
|
|
648
|
+
"type": "string",
|
|
649
|
+
"description": "参数名称(用于存储和获取值)"
|
|
650
|
+
},
|
|
651
|
+
"value": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"description": "默认值"
|
|
654
|
+
},
|
|
655
|
+
"options": {
|
|
656
|
+
"type": "array",
|
|
657
|
+
"description": "选项列表",
|
|
658
|
+
"items": {
|
|
659
|
+
"type": "object",
|
|
660
|
+
"additionalProperties": false,
|
|
661
|
+
"properties": {
|
|
662
|
+
"label": {
|
|
663
|
+
"type": "string"
|
|
664
|
+
},
|
|
665
|
+
"value": {
|
|
666
|
+
"type": "string"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"dataFrom": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "数据来源(如:role)"
|
|
674
|
+
},
|
|
675
|
+
"hidden": {
|
|
676
|
+
"type": "boolean",
|
|
677
|
+
"description": "是否隐藏",
|
|
678
|
+
"default": false
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
]
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|