config.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. <?php
  2. return [
  3. [
  4. 'name' => 'system_user_id',
  5. 'title' => '平台会员ID',
  6. 'type' => 'string',
  7. 'content' => [],
  8. 'value' => '0',
  9. 'rule' => 'required',
  10. 'msg' => '',
  11. 'tip' => '用于统计平台收入的前台会员ID',
  12. 'ok' => '',
  13. 'extend' => '',
  14. ],
  15. [
  16. 'name' => 'sitename',
  17. 'title' => '站点名称',
  18. 'type' => 'string',
  19. 'content' => [],
  20. 'value' => '我的CMS网站',
  21. 'rule' => 'required',
  22. 'msg' => '',
  23. 'tip' => '',
  24. 'ok' => '',
  25. 'extend' => '',
  26. ],
  27. [
  28. 'name' => 'sitelogo',
  29. 'title' => '站点Logo',
  30. 'type' => 'image',
  31. 'content' => [],
  32. 'value' => '/assets/addons/cms/img/logo.png',
  33. 'rule' => 'required',
  34. 'msg' => '',
  35. 'tip' => '',
  36. 'ok' => '',
  37. 'extend' => '',
  38. ],
  39. [
  40. 'name' => 'title',
  41. 'title' => '首页标题',
  42. 'type' => 'string',
  43. 'content' => [],
  44. 'value' => '',
  45. 'rule' => '',
  46. 'msg' => '',
  47. 'tip' => '',
  48. 'ok' => '',
  49. 'extend' => '',
  50. ],
  51. [
  52. 'name' => 'keywords',
  53. 'title' => '首页关键字',
  54. 'type' => 'string',
  55. 'content' => [],
  56. 'value' => '',
  57. 'rule' => '',
  58. 'msg' => '',
  59. 'tip' => '',
  60. 'ok' => '',
  61. 'extend' => '',
  62. ],
  63. [
  64. 'name' => 'description',
  65. 'title' => '首页描述',
  66. 'type' => 'string',
  67. 'content' => [],
  68. 'value' => '',
  69. 'rule' => '',
  70. 'msg' => '',
  71. 'tip' => '',
  72. 'ok' => '',
  73. 'extend' => '',
  74. ],
  75. [
  76. 'name' => 'mobileurl',
  77. 'title' => 'H5站点URL',
  78. 'type' => 'string',
  79. 'content' => [],
  80. 'value' => '',
  81. 'rule' => '',
  82. 'msg' => '',
  83. 'tip' => '如果未部署Uni-APP的H5则无需设置,需http://开头',
  84. 'ok' => '',
  85. 'extend' => '',
  86. ],
  87. [
  88. 'name' => 'theme',
  89. 'title' => '皮肤',
  90. 'type' => 'string',
  91. 'content' => [],
  92. 'value' => 'default',
  93. 'rule' => 'required',
  94. 'msg' => '',
  95. 'tip' => '请确保addons/cms/view有相应的目录',
  96. 'ok' => '',
  97. 'extend' => '',
  98. ],
  99. [
  100. 'name' => 'qrcode',
  101. 'title' => '公众号二维码',
  102. 'type' => 'image',
  103. 'content' => [],
  104. 'value' => '/assets/addons/cms/img/qrcode.png',
  105. 'rule' => '',
  106. 'msg' => '',
  107. 'tip' => '',
  108. 'ok' => '',
  109. 'extend' => '',
  110. ],
  111. [
  112. 'name' => 'wxapp',
  113. 'title' => '小程序二维码',
  114. 'type' => 'image',
  115. 'content' => [],
  116. 'value' => '/assets/addons/cms/img/qrcode.png',
  117. 'rule' => '',
  118. 'msg' => '',
  119. 'tip' => '',
  120. 'ok' => '',
  121. 'extend' => '',
  122. ],
  123. [
  124. 'name' => 'donateimage',
  125. 'title' => '打赏图片',
  126. 'type' => 'image',
  127. 'content' => [],
  128. 'value' => '/assets/addons/cms/img/qrcode.png',
  129. 'rule' => '',
  130. 'msg' => '',
  131. 'tip' => '打赏图片,请使用300*300的图片',
  132. 'ok' => '',
  133. 'extend' => '',
  134. ],
  135. [
  136. 'name' => 'default_archives_img',
  137. 'title' => '文档默认图片',
  138. 'type' => 'image',
  139. 'content' => [],
  140. 'value' => '/assets/addons/cms/img/noimage.jpg',
  141. 'rule' => '',
  142. 'msg' => '',
  143. 'tip' => '',
  144. 'ok' => '',
  145. 'extend' => '',
  146. ],
  147. [
  148. 'name' => 'default_channel_img',
  149. 'title' => '栏目默认图片',
  150. 'type' => 'image',
  151. 'content' => [],
  152. 'value' => '/assets/addons/cms/img/noimage.jpg',
  153. 'rule' => '',
  154. 'msg' => '',
  155. 'tip' => '',
  156. 'ok' => '',
  157. 'extend' => '',
  158. ],
  159. [
  160. 'name' => 'default_block_img',
  161. 'title' => '区块默认图片',
  162. 'type' => 'image',
  163. 'content' => [],
  164. 'value' => '/assets/addons/cms/img/noimage.jpg',
  165. 'rule' => '',
  166. 'msg' => '',
  167. 'tip' => '',
  168. 'ok' => '',
  169. 'extend' => '',
  170. ],
  171. [
  172. 'name' => 'default_page_img',
  173. 'title' => '单页默认图片',
  174. 'type' => 'image',
  175. 'content' => [],
  176. 'value' => '/assets/addons/cms/img/noimage.jpg',
  177. 'rule' => '',
  178. 'msg' => '',
  179. 'tip' => '',
  180. 'ok' => '',
  181. 'extend' => '',
  182. ],
  183. [
  184. 'name' => 'default_special_img',
  185. 'title' => '专题默认图片',
  186. 'type' => 'image',
  187. 'content' => [],
  188. 'value' => '/assets/addons/cms/img/noimage.jpg',
  189. 'rule' => '',
  190. 'msg' => '',
  191. 'tip' => '',
  192. 'ok' => '',
  193. 'extend' => '',
  194. ],
  195. [
  196. 'name' => 'downloadtype',
  197. 'title' => '下载类型字典',
  198. 'type' => 'array',
  199. 'content' => [],
  200. 'value' => [
  201. 'baidu' => '百度网盘',
  202. 'local' => '本地',
  203. 'other' => '其它',
  204. ],
  205. 'rule' => 'required',
  206. 'msg' => '',
  207. 'tip' => '',
  208. 'ok' => '',
  209. 'extend' => '',
  210. ],
  211. [
  212. 'name' => 'archivesratio',
  213. 'title' => '付费文章分成',
  214. 'type' => 'string',
  215. 'content' => [],
  216. 'value' => '1:0',
  217. 'rule' => 'required',
  218. 'msg' => '',
  219. 'tip' => '平台:文章作者 <br>请保证两者相加为1',
  220. 'ok' => '',
  221. 'extend' => '',
  222. ],
  223. [
  224. 'name' => 'score',
  225. 'title' => '获取积分设置',
  226. 'type' => 'array',
  227. 'content' => [],
  228. 'value' => [
  229. 'postarchives' => 2,
  230. 'postcomment' => 0,
  231. ],
  232. 'rule' => 'required',
  233. 'msg' => '',
  234. 'tip' => '如果问题或评论被删除则会扣除相应的积分',
  235. 'ok' => '',
  236. 'extend' => '',
  237. ],
  238. [
  239. 'name' => 'limitscore',
  240. 'title' => '限定积分设置',
  241. 'type' => 'array',
  242. 'content' => [],
  243. 'value' => [
  244. 'postarchives' => 0,
  245. 'postcomment' => 0,
  246. ],
  247. 'rule' => 'required',
  248. 'msg' => '',
  249. 'tip' => '必须达到相应的积分限制条件才可以操作',
  250. 'ok' => '',
  251. 'extend' => '',
  252. ],
  253. [
  254. 'name' => 'userpage',
  255. 'title' => '会员个人主页',
  256. 'type' => 'radio',
  257. 'content' => [
  258. 1 => '开启',
  259. 0 => '关闭',
  260. ],
  261. 'value' => '1',
  262. 'rule' => 'required',
  263. 'msg' => '',
  264. 'tip' => '',
  265. 'ok' => '是否开启会员个人主页功能',
  266. 'extend' => '',
  267. ],
  268. [
  269. 'name' => 'domain',
  270. 'title' => '绑定二级域名前缀',
  271. 'type' => 'string',
  272. 'content' => [],
  273. 'value' => '',
  274. 'rule' => '',
  275. 'msg' => '',
  276. 'tip' => '',
  277. 'ok' => '',
  278. 'extend' => '',
  279. ],
  280. [
  281. 'name' => 'rewrite',
  282. 'title' => '伪静态',
  283. 'type' => 'array',
  284. 'content' => [],
  285. 'value' => [
  286. 'index/index' => '/cms/$',
  287. 'tag/index' => '/cms/t/[:diyname]$',
  288. 'page/index' => '/cms/p/[:diyname]$',
  289. 'search/index' => '/cms/s$',
  290. 'diyform/index' => '/cms/d/[:diyname]$',
  291. 'diyform/post' => '/cms/d/[:diyname]/post',
  292. 'diyform/show' => '/cms/d/[:diyname]/[:id]',
  293. 'special/index' => '/cms/special/[:diyname]',
  294. 'user/index' => '/u/[:id]',
  295. 'channel/index' => '/cms/[:diyname]$',
  296. 'archives/index' => '/cms/[:catename]/[:id]$',
  297. ],
  298. 'rule' => 'required',
  299. 'msg' => '',
  300. 'tip' => '',
  301. 'ok' => '',
  302. 'extend' => '',
  303. ],
  304. [
  305. 'name' => 'wxappid',
  306. 'title' => '小程序AppID',
  307. 'type' => 'string',
  308. 'content' => [],
  309. 'value' => '',
  310. 'rule' => '',
  311. 'msg' => '',
  312. 'tip' => '',
  313. 'ok' => '',
  314. 'extend' => '',
  315. ],
  316. [
  317. 'name' => 'wxappsecret',
  318. 'title' => '小程序AppSecret',
  319. 'type' => 'string',
  320. 'content' => [],
  321. 'value' => '',
  322. 'rule' => '',
  323. 'msg' => '',
  324. 'tip' => '',
  325. 'ok' => '',
  326. 'extend' => '',
  327. ],
  328. [
  329. 'name' => 'ispaylogin',
  330. 'title' => '支付是否需要登录',
  331. 'type' => 'radio',
  332. 'content' => [
  333. 1 => '是',
  334. 0 => '否',
  335. ],
  336. 'value' => '1',
  337. 'rule' => 'required',
  338. 'msg' => '',
  339. 'tip' => '支付时是否需要登录',
  340. 'ok' => '',
  341. 'extend' => '',
  342. ],
  343. [
  344. 'name' => 'paytypelist',
  345. 'title' => '支付模块',
  346. 'type' => 'checkbox',
  347. 'content' => [
  348. 'wechat' => '微信支付',
  349. 'alipay' => '支付宝',
  350. 'balance' => '余额支付',
  351. ],
  352. 'value' => 'wechat,alipay,balance',
  353. 'rule' => 'required',
  354. 'msg' => '',
  355. 'tip' => '前台支付开启的模块',
  356. 'ok' => '',
  357. 'extend' => '',
  358. ],
  359. [
  360. 'name' => 'defaultpaytype',
  361. 'title' => '默认支付模块',
  362. 'type' => 'radio',
  363. 'content' => [
  364. 'wechat' => '微信支付',
  365. 'alipay' => '支付宝',
  366. 'balance' => '余额支付',
  367. ],
  368. 'value' => 'balance',
  369. 'rule' => 'required',
  370. 'msg' => '',
  371. 'tip' => '前台内容页默认支付方式',
  372. 'ok' => '',
  373. 'extend' => '',
  374. ],
  375. [
  376. 'name' => 'isarchivesaudit',
  377. 'title' => '发布文章审核',
  378. 'type' => 'radio',
  379. 'content' => [
  380. 1 => '全部审核',
  381. 0 => '无需审核',
  382. -1 => '仅含有过滤词时审核',
  383. ],
  384. 'value' => '1',
  385. 'rule' => 'required',
  386. 'msg' => '',
  387. 'tip' => '',
  388. 'ok' => '',
  389. 'extend' => '',
  390. ],
  391. [
  392. 'name' => 'iscommentaudit',
  393. 'title' => '发表评论审核',
  394. 'type' => 'radio',
  395. 'content' => [
  396. 1 => '全部审核',
  397. 0 => '无需审核',
  398. -1 => '仅含有过滤词时审核',
  399. ],
  400. 'value' => '1',
  401. 'rule' => 'required',
  402. 'msg' => '',
  403. 'tip' => '',
  404. 'ok' => '',
  405. 'extend' => '',
  406. ],
  407. [
  408. 'name' => 'iscomment',
  409. 'title' => '全局评论开关',
  410. 'type' => 'radio',
  411. 'content' => [
  412. 1 => '开',
  413. 0 => '关',
  414. ],
  415. 'value' => '1',
  416. 'rule' => 'required',
  417. 'msg' => '',
  418. 'tip' => '',
  419. 'ok' => '',
  420. 'extend' => '',
  421. ],
  422. [
  423. 'name' => 'audittype',
  424. 'title' => '审核方式',
  425. 'type' => 'radio',
  426. 'content' => [
  427. 'local' => '本地',
  428. 'baiduyun' => '百度云',
  429. ],
  430. 'value' => 'local',
  431. 'rule' => 'required',
  432. 'msg' => '',
  433. 'tip' => '如果启用百度云,请输入百度云AI平台应用的AK和SK',
  434. 'ok' => '',
  435. 'extend' => '',
  436. ],
  437. [
  438. 'name' => 'nlptype',
  439. 'title' => '分词方式',
  440. 'type' => 'radio',
  441. 'content' => [
  442. 'local' => '本地',
  443. 'baiduyun' => '百度云',
  444. ],
  445. 'value' => 'local',
  446. 'rule' => 'required',
  447. 'msg' => '',
  448. 'tip' => '如果启用百度云,请输入百度云AI平台应用的AK和SK',
  449. 'ok' => '',
  450. 'extend' => '',
  451. ],
  452. [
  453. 'name' => 'aip_appid',
  454. 'title' => '百度AI平台应用Appid',
  455. 'type' => 'string',
  456. 'content' => [],
  457. 'value' => '',
  458. 'rule' => '',
  459. 'msg' => '',
  460. 'tip' => '百度云AI开放平台应用AppId',
  461. 'ok' => '',
  462. 'extend' => '',
  463. ],
  464. [
  465. 'name' => 'aip_apikey',
  466. 'title' => '百度AI平台应用Apikey',
  467. 'type' => 'string',
  468. 'content' => [],
  469. 'value' => '',
  470. 'rule' => '',
  471. 'msg' => '',
  472. 'tip' => '百度云AI开放平台应用ApiKey',
  473. 'ok' => '',
  474. 'extend' => '',
  475. ],
  476. [
  477. 'name' => 'aip_secretkey',
  478. 'title' => '百度AI平台应用Secretkey',
  479. 'type' => 'string',
  480. 'content' => [],
  481. 'value' => '',
  482. 'rule' => '',
  483. 'msg' => '',
  484. 'tip' => '百度云AI开放平台应用Secretkey',
  485. 'ok' => '',
  486. 'extend' => '',
  487. ],
  488. [
  489. 'name' => 'apikey',
  490. 'title' => 'ApiKey',
  491. 'type' => 'string',
  492. 'content' => [],
  493. 'value' => '',
  494. 'rule' => '',
  495. 'msg' => '',
  496. 'tip' => '用于调用API接口时写入数据权限控制<br>可以为空',
  497. 'ok' => '',
  498. 'extend' => '',
  499. ],
  500. [
  501. 'name' => 'archiveseditmode',
  502. 'title' => '文档编辑模式',
  503. 'type' => 'radio',
  504. 'content' => [
  505. 'addtabs' => '新选项卡',
  506. 'dialog' => '弹窗',
  507. ],
  508. 'value' => 'dialog',
  509. 'rule' => '',
  510. 'msg' => '',
  511. 'tip' => '在添加或编辑文档时的操作方式',
  512. 'ok' => '',
  513. 'extend' => '',
  514. ],
  515. [
  516. 'name' => 'redirecturl',
  517. 'title' => '是否启用链接中转',
  518. 'type' => 'radio',
  519. 'content' => [
  520. '1' => '是',
  521. '0' => '否',
  522. ],
  523. 'value' => '1',
  524. 'rule' => '',
  525. 'msg' => '',
  526. 'tip' => '正文中的外部链接是否启用中转',
  527. 'ok' => '',
  528. 'extend' => '',
  529. ],
  530. [
  531. 'name' => 'auditnotice',
  532. 'title' => '审核通知',
  533. 'type' => 'radio',
  534. 'content' => [
  535. 'none' => '无需通知',
  536. 'dinghorn' => '钉钉小喇叭',
  537. 'vbot' => '企业微信通知',
  538. ],
  539. 'value' => 'none',
  540. 'rule' => '',
  541. 'msg' => '',
  542. 'tip' => '如需启用审核通知,务必在插件市场安装对应的插件',
  543. 'ok' => '',
  544. 'extend' => '',
  545. ],
  546. [
  547. 'name' => 'noticetemplateid',
  548. 'title' => '消息模板ID',
  549. 'type' => 'string',
  550. 'content' => [],
  551. 'value' => '1',
  552. 'rule' => '',
  553. 'msg' => '',
  554. 'tip' => '当启用审核通知时,消息通知的模板ID',
  555. 'ok' => '',
  556. 'extend' => '',
  557. ],
  558. [
  559. 'name' => 'channelallocate',
  560. 'title' => '栏目授权',
  561. 'type' => 'radio',
  562. 'content' => [
  563. 1 => '开启',
  564. 0 => '关闭',
  565. ],
  566. 'value' => '1',
  567. 'rule' => '',
  568. 'msg' => '',
  569. 'tip' => '开启后可以单独给管理员分配可管理的内容栏目',
  570. 'ok' => '',
  571. 'extend' => '',
  572. ],
  573. [
  574. 'name' => 'archivesdatalimit',
  575. 'title' => '文章数据范围',
  576. 'type' => 'select',
  577. 'content' => [
  578. 'all' => '可查看全部数据',
  579. 'auth' => '仅可查看自己和子级发布的数据',
  580. 'personal' => '仅可查看自己发布的数据',
  581. ],
  582. 'value' => 'all',
  583. 'rule' => '',
  584. 'msg' => '',
  585. 'tip' => '',
  586. 'ok' => '',
  587. 'extend' => '',
  588. ],
  589. [
  590. 'name' => 'specialdatalimit',
  591. 'title' => '专题数据范围',
  592. 'type' => 'select',
  593. 'content' => [
  594. 'all' => '可查看全部数据',
  595. 'auth' => '仅可查看自己和子级发布的数据',
  596. 'personal' => '仅可查看自己发布的数据',
  597. ],
  598. 'value' => 'all',
  599. 'rule' => '',
  600. 'msg' => '',
  601. 'tip' => '',
  602. 'ok' => '',
  603. 'extend' => '',
  604. ],
  605. [
  606. 'name' => 'pagedatalimit',
  607. 'title' => '单页数据范围',
  608. 'type' => 'select',
  609. 'content' => [
  610. 'all' => '可查看全部数据',
  611. 'auth' => '仅可查看自己和子级发布的数据',
  612. 'personal' => '仅可查看自己发布的数据',
  613. ],
  614. 'value' => 'all',
  615. 'rule' => '',
  616. 'msg' => '',
  617. 'tip' => '',
  618. 'ok' => '',
  619. 'extend' => '',
  620. ],
  621. [
  622. 'name' => 'diyformdatalimit',
  623. 'title' => '自定义表单数据范围',
  624. 'type' => 'select',
  625. 'content' => [
  626. 'all' => '可查看全部数据',
  627. 'auth' => '仅可查看自己和子级发布的数据',
  628. 'personal' => '仅可查看自己发布的数据',
  629. ],
  630. 'value' => 'all',
  631. 'rule' => '',
  632. 'msg' => '',
  633. 'tip' => '',
  634. 'ok' => '',
  635. 'extend' => '',
  636. ],
  637. [
  638. 'name' => 'contactqq',
  639. 'title' => '联系我们QQ',
  640. 'type' => 'string',
  641. 'content' => [],
  642. 'value' => '',
  643. 'rule' => '',
  644. 'msg' => '',
  645. 'tip' => '合作伙伴和友情链接的联系QQ',
  646. 'ok' => '',
  647. 'extend' => '',
  648. ],
  649. [
  650. 'name' => 'realtimereplacelink',
  651. 'title' => '实时内联替换',
  652. 'type' => 'radio',
  653. 'content' => [
  654. '1' => '是',
  655. '0' => '否',
  656. ],
  657. 'value' => 'local',
  658. 'rule' => 'required',
  659. 'msg' => '',
  660. 'tip' => '是否开启实时内联替换',
  661. 'ok' => '',
  662. 'extend' => '',
  663. ],
  664. [
  665. 'name' => 'autolinks',
  666. 'title' => '关键字链接',
  667. 'type' => 'array',
  668. 'content' => [],
  669. 'value' => [],
  670. 'rule' => '',
  671. 'msg' => '',
  672. 'tip' => '对应的关键字将会自动加上链接',
  673. 'ok' => '',
  674. 'extend' => '',
  675. ],
  676. [
  677. 'name' => 'searchtype',
  678. 'title' => '搜索方式',
  679. 'type' => 'radio',
  680. 'content' => [
  681. 'local' => '本地搜索,采用Like(无需配置,效率低)',
  682. 'xunsearch' => '采用Xunsearch全文搜索(需安装插件+配置)',
  683. ],
  684. 'value' => 'local',
  685. 'rule' => 'required',
  686. 'msg' => '',
  687. 'tip' => '如果启用Xunsearch全文搜索,需安装Xunsearch插件并配置Xunsearch服务端',
  688. 'ok' => '',
  689. 'extend' => '',
  690. ],
  691. [
  692. 'name' => 'autopinyin',
  693. 'title' => '标题自动转拼音',
  694. 'type' => 'radio',
  695. 'content' => [
  696. 1 => '开启',
  697. 0 => '关闭',
  698. ],
  699. 'value' => '1',
  700. 'rule' => 'required',
  701. 'msg' => '',
  702. 'tip' => '如果开启自动转拼音,则在录入文档标题或栏目名称时,自定义名称将自动转换成拼音',
  703. 'ok' => '',
  704. 'extend' => '',
  705. ],
  706. [
  707. 'name' => 'baidupush',
  708. 'title' => '百度主动推送链接',
  709. 'type' => 'radio',
  710. 'content' => [
  711. 1 => '开启',
  712. 0 => '关闭',
  713. ],
  714. 'value' => '0',
  715. 'rule' => 'required',
  716. 'msg' => '',
  717. 'tip' => '如果开启百度主动推送链接,将在文章发布时自动进行推送',
  718. 'ok' => '',
  719. 'extend' => '',
  720. ],
  721. [
  722. 'name' => 'usersidenav',
  723. 'title' => '会员中心边栏模块',
  724. 'type' => 'checkbox',
  725. 'content' => [
  726. 'myarchives' => '我发布的文章',
  727. 'postarchives' => '发布文章',
  728. 'myorder' => '我的消费订单',
  729. 'mycomment' => '我发表的评论',
  730. 'mycollection' => '我的收藏',
  731. ],
  732. 'value' => 'myarchives,postarchives,myorder,mycomment,mycollection',
  733. 'rule' => '',
  734. 'msg' => '',
  735. 'tip' => '会员中心边栏模块',
  736. 'ok' => '',
  737. 'extend' => '',
  738. ],
  739. [
  740. 'name' => 'loadmode',
  741. 'title' => '列表页加载模式',
  742. 'type' => 'radio',
  743. 'content' => [
  744. 'infinite' => '无限加载模式',
  745. 'paging' => '分页加载模式',
  746. ],
  747. 'value' => 'paging',
  748. 'rule' => 'required',
  749. 'msg' => '',
  750. 'tip' => '列表页加载模式',
  751. 'ok' => '',
  752. 'extend' => '',
  753. ],
  754. [
  755. 'name' => 'pagemode',
  756. 'title' => '页码显示模式',
  757. 'type' => 'radio',
  758. 'content' => [
  759. 'simple' => '仅使用上下页',
  760. 'full' => '包含数字分页',
  761. ],
  762. 'value' => 'full',
  763. 'rule' => 'required',
  764. 'msg' => '',
  765. 'tip' => '分页加载模式',
  766. 'ok' => '',
  767. 'extend' => '',
  768. ],
  769. [
  770. 'name' => 'cachelifetime',
  771. 'title' => '缓存默认时长',
  772. 'type' => 'string',
  773. 'content' => [],
  774. 'value' => 'true',
  775. 'rule' => 'required',
  776. 'msg' => '',
  777. 'tip' => '0表示不缓存,具体数字表示缓存时长,true表示永久缓存',
  778. 'ok' => '',
  779. 'extend' => '',
  780. ],
  781. [
  782. 'name' => 'flagtype',
  783. 'title' => '标志字典',
  784. 'type' => 'array',
  785. 'content' => [],
  786. 'value' => [
  787. 'hot' => '热门',
  788. 'new' => '新',
  789. 'recommend' => '推荐',
  790. 'top' => '置顶',
  791. ],
  792. 'rule' => 'required',
  793. 'msg' => '',
  794. 'tip' => '',
  795. 'ok' => '',
  796. 'extend' => '',
  797. ],
  798. [
  799. 'name' => 'urlsuffix',
  800. 'title' => 'URL后缀',
  801. 'type' => 'string',
  802. 'content' => [
  803. ],
  804. 'value' => 'html',
  805. 'rule' => '',
  806. 'msg' => '如果不需要后缀可以设置为空',
  807. 'tip' => '',
  808. 'ok' => '',
  809. 'extend' => '',
  810. ],
  811. [
  812. 'name' => 'moduleurlsuffix',
  813. 'title' => '模块URL后缀',
  814. 'type' => 'array',
  815. 'content' => [
  816. ],
  817. 'value' => [
  818. 'channel' => 'html',
  819. 'archives' => 'html',
  820. 'special' => 'html',
  821. 'page' => 'html',
  822. 'diyform' => 'html',
  823. 'tag' => 'html',
  824. 'user' => '',
  825. ],
  826. 'rule' => '',
  827. 'msg' => '如果不需要后缀可以设置为空',
  828. 'tip' => '',
  829. 'ok' => '',
  830. 'extend' => '',
  831. ],
  832. [
  833. 'name' => 'app_id',
  834. 'title' => 'APP的AppID',
  835. 'type' => 'string',
  836. 'content' => [],
  837. 'value' => '',
  838. 'rule' => '',
  839. 'msg' => '',
  840. 'tip' => '微信开放平台中应用的Appid,仅Uniapp版本使用',
  841. 'ok' => '',
  842. 'extend' => '',
  843. ],
  844. [
  845. 'name' => 'app_secret',
  846. 'title' => 'APP的AppSecret',
  847. 'type' => 'string',
  848. 'content' => [],
  849. 'value' => '',
  850. 'rule' => '',
  851. 'msg' => '',
  852. 'tip' => '微信开放平台中应用的AppSecret,仅Uniapp版本使用',
  853. 'ok' => '',
  854. 'extend' => '',
  855. ],
  856. ];