MchPickLink.php 127 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. // namespace app\constants;
  8. // class MchPickLink
  9. // {
  10. // const LIST = [
  11. // [
  12. // 'name' => "商城首页",
  13. // 'link' => "/pages/home/home",
  14. // 'open_type' => "switchtab",
  15. // 'params' => []
  16. // ],
  17. // [
  18. // 'name' => "分类",
  19. // 'link' => "/pages/cat/cat",
  20. // 'open_type' => "switchtab",
  21. // 'params' => [
  22. // [
  23. // 'key' => "cat_id",
  24. // 'value' => "",
  25. // 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  26. // ]
  27. // ]
  28. // ],
  29. // [
  30. // 'name' => "购物车",
  31. // 'link' => "/pages/shoppingcart/shoppingcart",
  32. // 'open_type' => "switchtab",
  33. // 'params' => []
  34. // ],
  35. // [
  36. // 'name' => "福利中心",
  37. // 'link' => "/integral/integral/integral",
  38. // 'open_type' => "navigate",
  39. // 'params' => []
  40. // ],
  41. // [
  42. // 'name' => "会员中心",
  43. // 'link' => "/user/member/member_center",
  44. // 'open_type' => "navigate",
  45. // 'params' => []
  46. // ],
  47. // [
  48. // 'name' => "用户中心",
  49. // 'link' => "/pages/my/my",
  50. // 'open_type' => "switchtab",
  51. // 'params' => []
  52. // ],
  53. // [
  54. // 'name' => "商品列表",
  55. // 'link' => "/other/list/list",
  56. // 'open_type' => "navigate",
  57. // 'params' => [
  58. // [
  59. // 'key' => "cat_id",
  60. // 'value' => "",
  61. // 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  62. // ]
  63. // ]
  64. // ],
  65. // [
  66. // 'name' => "商品详情",
  67. // 'link' => "/goods/goods/goods",
  68. // 'open_type' => "navigate",
  69. // 'params' => [
  70. // [
  71. // 'key' => "id",
  72. // 'value' => "",
  73. // 'desc' => "id请填写在商品列表中相关商品的ID"
  74. // ]
  75. // ]
  76. // ],
  77. // [
  78. // 'name' => "所有订单",
  79. // 'link' => "/pages/order/order?status=-1",
  80. // 'open_type' => "navigate",
  81. // 'params' => []
  82. // ],
  83. // [
  84. // 'name' => "待付款订单",
  85. // 'link' => "/pages/order/order?status=0",
  86. // 'open_type' => "navigate",
  87. // 'params' => []
  88. // ],
  89. // [
  90. // 'name' => "待发货订单",
  91. // 'link' => "/pages/order/order?status=1",
  92. // 'open_type' => "navigate",
  93. // 'params' => []
  94. // ],
  95. // [
  96. // 'name' => "待收货订单",
  97. // 'link' => "/pages/order/order?status=2",
  98. // 'open_type' => "navigate",
  99. // 'params' => []
  100. // ],
  101. // [
  102. // 'name' => "已完成订单",
  103. // 'link' => "/pages/order/order?status=3",
  104. // 'open_type' => "navigate",
  105. // 'params' => []
  106. // ],
  107. // [
  108. // 'name' => "售后订单",
  109. // 'link' => "/pages/order/order?status=4",
  110. // 'open_type' => "navigate",
  111. // 'params' => []
  112. // ],
  113. // [
  114. // 'name' => "我的订单",
  115. // 'link' => "/pages/order/order",
  116. // 'open_type' => "navigate",
  117. // 'params' => [
  118. // [
  119. // 'key' => "status",
  120. // 'value' => 0,
  121. // 'desc' => "status 请填写订单列表状态, 为空则跳转为 待付款",
  122. // ]
  123. // ],
  124. // ],
  125. // [
  126. // 'name' => "店铺商品分类",
  127. // 'link' => "/mch/shop/shop",
  128. // 'open_type' => "navigate",
  129. // 'params' => [
  130. // [
  131. // 'key' => "cat_id",
  132. // 'value' => "",
  133. // 'desc' => "cat_id请填写在店铺商品分类中相关分类的ID"
  134. // ],
  135. // [
  136. // 'key' => "tab",
  137. // 'value' => "2",
  138. // 'desc' => "tab该数据为默认数据,请勿修改"
  139. // ]
  140. // ]
  141. // ],
  142. // [
  143. // 'name' => "店铺首页",
  144. // 'link' => "/mch/shop/shop?tab=1",
  145. // 'open_type' => "navigate",
  146. // 'params' => []
  147. // ],
  148. // [
  149. // 'name' => "店铺全部商品",
  150. // 'link' => "/mch/shop/shop?tab=2",
  151. // 'open_type' => "navigate",
  152. // 'params' => []
  153. // ],
  154. // [
  155. // 'name' => "店铺新品上架",
  156. // 'link' => "/mch/shop/shop?tab=3",
  157. // 'open_type' => "navigate",
  158. // 'params' => []
  159. // ],
  160. // [
  161. // 'name' => "店铺商品分类",
  162. // 'link' => "/mch/shop-cat/shop-cat",
  163. // 'open_type' => "navigate",
  164. // 'params' => [
  165. // [
  166. // 'key' => "cat_id",
  167. // 'value' => "",
  168. // 'desc' => "cat_id请填写在店铺商品分类中相关分类的ID"
  169. // ]
  170. // ]
  171. // ],
  172. // ];
  173. // public static function getLink()
  174. // {
  175. // $link = self::LIST;
  176. // foreach($link as $key => $val) {
  177. // $link[$key]['params'][] = [
  178. // 'key' => "mch_id",
  179. // 'value' => get_mch_id(),
  180. // 'desc' => "该数据为入驻商ID,请不要修改"
  181. // ];
  182. // }
  183. // return $link;
  184. // }
  185. // }
  186. /*
  187. * @Author: your name
  188. * @Date: 2021-03-02 09:50:20
  189. * @LastEditTime: 2021-05-21 11:56:14
  190. * @LastEditors: Please set LastEditors
  191. * @Description: In User Settings Edit
  192. * @FilePath: \admin_php\constants\PickLink.php
  193. */
  194. namespace app\constants;
  195. use app\models\NewDiyTemplate;
  196. use yii\helpers\Json;
  197. use app\models\Store;
  198. class MchPickLink
  199. {
  200. const LIST = [
  201. [
  202. 'name' => '首页',
  203. 'link' => '/pages/home/home',
  204. 'open_type' => "switchtab",
  205. 'params' => []
  206. ],
  207. [
  208. 'name' => '推广二维码',
  209. 'link' => '/user/share-qrcode/share-qrcode',
  210. 'open_type' => "navigate",
  211. 'params' => []
  212. ],
  213. [
  214. 'name' => '微信会员卡',
  215. 'link' => '/weChat/card/index',
  216. 'open_type' => "weChatCart",
  217. 'params' => []
  218. ],
  219. [
  220. 'name' => '支付宝会员卡',
  221. 'link' => '/alipay/card/index',
  222. 'open_type' => "alipayCard",
  223. 'params' => []
  224. ],
  225. [
  226. 'name' => '我的联盟券',
  227. 'link' => '/user/new_balance/new_balance',
  228. 'open_type' => "navigate",
  229. 'params' => []
  230. ],
  231. [
  232. 'name' => 'WIFI',
  233. 'link' => '/pages/home/wifi',
  234. 'open_type' => "navigate",
  235. 'params' => []
  236. ],
  237. [
  238. 'name' => '素材中心',
  239. 'link' => '/tools/quickPost/index/index',
  240. 'open_type' => "navigate",
  241. 'params' => []
  242. ],
  243. [
  244. 'name' => '支付宝支付券',
  245. 'link' => '/mkt/list/index',
  246. 'open_type' => "navigate",
  247. 'params' => []
  248. ],
  249. [
  250. 'name' => '新版本DIY',
  251. 'link' => '/diy/diyNew/index',
  252. 'open_type' => "navigate",
  253. 'params' => []
  254. ],
  255. // [
  256. // 'name' => '平台首页',
  257. // 'link' => '/pages/union/home/index',
  258. // 'open_type' => "navigate",
  259. // 'params' => []
  260. // ],
  261. [
  262. 'name' => '分类',
  263. 'link' => '/pages/cat/cat',
  264. 'open_type' => "switchtab",
  265. 'params' => [
  266. [
  267. 'key' => "cat_id",
  268. 'value' => "",
  269. 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  270. ]
  271. ]
  272. ],
  273. [
  274. 'name' => '购物车',
  275. 'link' => '/pages/shoppingcart/shoppingcart',
  276. 'open_type' => "switchtab",
  277. 'params' => []
  278. ],
  279. [
  280. 'name' => '付款码',
  281. 'link' => '/face-pay/face-pay/collection',
  282. 'open_type' => "navigate",
  283. 'params' => []
  284. ],
  285. [
  286. 'name' => '当面付',
  287. 'link' => '/face-pay/face-pay/payOut',
  288. 'open_type' => "navigate",
  289. 'params' => []
  290. ],
  291. [
  292. 'name' => '签到',
  293. 'link' => '/integral/signIn/signIn',
  294. 'open_type' => "navigate",
  295. 'params' => []
  296. ],
  297. [
  298. 'name' => '点餐页',
  299. 'link' => '/alipay-order/orderMeal/orderMeal',
  300. 'open_type' => 'navigate',
  301. 'params' => [
  302. [
  303. 'key' => "food_table_num",
  304. 'value' => "",
  305. 'desc' => "桌号"
  306. ]
  307. ],
  308. ],
  309. [
  310. 'name' => '点餐预约',
  311. 'link' => '/alipay-order/appointment/appointment',
  312. 'open_type' => 'navigate',
  313. 'params' => [],
  314. ],
  315. [
  316. 'name' => '点餐订单列表',
  317. 'link' => '/alipay-order/order/list',
  318. 'open_type' => "navigate",
  319. 'params' => []
  320. ],
  321. // [
  322. // 'name' => '福利中心',
  323. // 'link' => '/integral/integral/integral',
  324. // 'open_type' => "navigate",
  325. // 'params' => []
  326. // ],
  327. [
  328. 'name' => '会员中心',
  329. 'link' => '/user/member/member_center',
  330. 'open_type' => "navigate",
  331. 'params' => []
  332. ],
  333. [
  334. 'name' => '我的',
  335. 'link' => '/pages/my/my',
  336. 'open_type' => "switchtab",
  337. 'params' => []
  338. ],
  339. [
  340. 'name' => '商品列表',
  341. 'link' => '/other/list/list',
  342. 'open_type' => "navigate",
  343. 'params' => [
  344. [
  345. 'key' => "cat_id",
  346. 'value' => "",
  347. 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  348. ]
  349. ]
  350. ],
  351. [
  352. 'name' => "商品详情",
  353. 'link' => "/goods/goods/goods",
  354. 'open_type' => "navigate",
  355. 'params' => [
  356. [
  357. 'key' => "id",
  358. 'value' => "",
  359. 'desc' => "id请填写在商品列表中相关商品的ID",
  360. 'cat_type' => '1',
  361. ]
  362. ]
  363. ],
  364. // [
  365. // 'name' => "账户设置",
  366. // 'link' => "/user/my/setting",
  367. // 'open_type' => "navigate",
  368. // 'params' => []
  369. // ],
  370. [
  371. 'name' => "地址管理",
  372. 'link' => "/user/my/addressmanage",
  373. 'open_type' => "navigate",
  374. 'params' => []
  375. ],
  376. [
  377. 'name' => "关于我们",
  378. 'link' => "/user/my/article-detail",
  379. 'open_type' => "navigate",
  380. 'params' => []
  381. ],
  382. [
  383. 'name' => "专题",
  384. 'link' => "/other/special/special",
  385. 'open_type' => "navigate",
  386. 'params' => []
  387. ],
  388. [
  389. 'name' => "专题详情",
  390. 'link' => "/other/special/topic",
  391. 'open_type' => "navigate",
  392. 'params' => [
  393. [
  394. 'key' => "id",
  395. 'value' => "",
  396. 'desc' => "id请填写对应的专题ID"
  397. ]
  398. ]
  399. ],
  400. [
  401. 'name' => "余额",
  402. 'link' => "/user/balance/balance",
  403. 'open_type' => "navigate",
  404. 'params' => []
  405. ],
  406. [
  407. 'name' => "充值",
  408. 'link' => "/user/balance/recharge",
  409. 'open_type' => "navigate",
  410. 'params' => []
  411. ],
  412. [
  413. 'name' => "浏览记录",
  414. 'link' => "/user/history/history",
  415. 'open_type' => "navigate",
  416. 'params' => []
  417. ],
  418. // [
  419. // 'name' => "授权手机号",
  420. // 'link' => "/user/bind_phone/bind_phone",
  421. // 'open_type' => "navigate",
  422. // 'params' => []
  423. // ],
  424. [
  425. 'name' => "所有订单",
  426. 'link' => "/order/order/order?status=-1",
  427. 'open_type' => "navigate",
  428. 'params' => []
  429. ],
  430. [
  431. 'name' => "待付款订单",
  432. 'link' => "/order/order/order?status=0",
  433. 'open_type' => "navigate",
  434. 'params' => []
  435. ],
  436. [
  437. 'name' => "待发货订单",
  438. 'link' => "/order/order/order?status=1",
  439. 'open_type' => "navigate",
  440. 'params' => []
  441. ],
  442. [
  443. 'name' => "待收货订单",
  444. 'link' => "/order/order/order?status=2",
  445. 'open_type' => "navigate",
  446. 'params' => []
  447. ],
  448. [
  449. 'name' => "已完成订单",
  450. 'link' => "/order/order/order?status=3",
  451. 'open_type' => "navigate",
  452. 'params' => []
  453. ],
  454. [
  455. 'name' => "售后订单",
  456. 'link' => "/order/order-refund-list/order-refund-list",
  457. 'open_type' => "navigate",
  458. 'params' => []
  459. ],
  460. [
  461. 'name' => "领券中心",
  462. 'link' => "/other/coupon_center/coupon_center",
  463. 'open_type' => "navigate",
  464. 'params' => []
  465. ],
  466. [
  467. 'name' => "我的优惠券",
  468. 'link' => "/user/my_coupon/my_coupon",
  469. 'open_type' => "navigate",
  470. 'params' => []
  471. ],
  472. [
  473. 'name' => "我的核销卡",
  474. 'link' => "/user/write_off_card/write_off_card",
  475. 'open_type' => "navigate",
  476. 'params' => [
  477. [
  478. 'key' => "type",
  479. 'value' => "1",
  480. 'desc' => "我的核销卡"
  481. ],
  482. ]
  483. ],
  484. [
  485. 'name' => "我的礼品卡",
  486. 'link' => "/user/write_off_card/write_off_card",
  487. 'open_type' => "navigate",
  488. 'params' => [
  489. [
  490. 'key' => "type",
  491. 'value' => "2",
  492. 'desc' => "我的礼品卡"
  493. ],
  494. ]
  495. ],
  496. [
  497. 'name' => "我的储值卡",
  498. 'link' => "/user/write_off_card/write_off_card",
  499. 'open_type' => "navigate",
  500. 'params' => [
  501. [
  502. 'key' => "type",
  503. 'value' => "3",
  504. 'desc' => "我的储值卡"
  505. ],
  506. ]
  507. ],
  508. [
  509. 'name' => "我的卡密卡",
  510. 'link' => "/user/write_off_card/write_off_card",
  511. 'open_type' => "navigate",
  512. 'params' => [
  513. [
  514. 'key' => "type",
  515. 'value' => "4",
  516. 'desc' => "我的卡密卡"
  517. ],
  518. ]
  519. ],
  520. [
  521. 'name' => "我的视频卡",
  522. 'link' => "/user/write_off_card/write_off_card",
  523. 'open_type' => "navigate",
  524. 'params' => [
  525. [
  526. 'key' => "type",
  527. 'value' => "5",
  528. 'desc' => "我的视频卡"
  529. ],
  530. ]
  531. ],
  532. // [
  533. // 'name' => "我的卡券",
  534. // 'link' => "/user/my_card_coupon/my_card_coupon",
  535. // 'open_type' => "navigate",
  536. // 'params' => []
  537. // ],
  538. [
  539. 'name' => "分销中心",
  540. 'link' => "/user/share/index",
  541. 'open_type' => "navigate",
  542. 'params' => []
  543. ],
  544. [
  545. 'name' => "搜索",
  546. 'link' => "/pages/search/search",
  547. 'open_type' => "navigate",
  548. 'params' => []
  549. ],
  550. // [
  551. // 'name' => "申请自提点",
  552. // 'link' => "/pages/shop/apply",
  553. // 'open_type' => "navigate",
  554. // 'params' => []
  555. // ],
  556. // [
  557. // 'name' => "自提点后台",
  558. // 'link' => "/pages/shop/admin",
  559. // 'open_type' => "navigate",
  560. // 'params' => []
  561. // ],
  562. // [
  563. // 'name' => "附近门店",
  564. // 'link' => "/pages/shop-nearby/shop-nearby",
  565. // 'open_type' => "navigate",
  566. // 'params' => []
  567. // ],
  568. // [
  569. // 'name' => "附近店铺",
  570. // 'link' => "/pages/shop-list/shop-list",
  571. // 'open_type' => "navigate",
  572. // 'params' => []
  573. // ],
  574. // [
  575. // 'name' => "入驻商",
  576. // 'link' => "/mch/admin/home/home",
  577. // 'open_type' => "navigate",
  578. // 'params' => []
  579. // ],
  580. // [
  581. // 'name' => "后台管理",
  582. // 'link' => "/admin/home/home",
  583. // 'open_type' => "navigate",
  584. // 'params' => []
  585. // ],
  586. [
  587. 'name' => "我的收藏",
  588. 'link' => "/user/collection/collection",
  589. 'open_type' => "navigate",
  590. 'params' => []
  591. ],
  592. [
  593. 'name' => "小程序直播",
  594. 'link' => "/wxlive/live/live",
  595. 'open_type' => "navigate",
  596. 'params' => []
  597. ],
  598. [
  599. 'name' => "门店中心",
  600. 'link' => "/md_admin/md-center/md",
  601. 'open_type' => "navigate",
  602. 'params' => []
  603. ],
  604. [
  605. 'name' => "申请门店",
  606. 'link' => "/md_admin/apply-md/apply",
  607. 'open_type' => "navigate",
  608. 'params' => []
  609. ],
  610. [
  611. 'name' => "门店员工中心",
  612. 'link' => "/md_admin/staff-center/staff",
  613. 'open_type' => "navigate",
  614. 'params' => []
  615. ],
  616. [
  617. 'name' => "申请股东",
  618. 'link' => "/shareholder/apply/apply",
  619. 'open_type' => "navigate",
  620. 'params' => []
  621. ],
  622. [
  623. 'name' => "股东中心",
  624. 'link' => "/shareholder/shareholder/index",
  625. 'open_type' => "navigate",
  626. 'params' => []
  627. ],
  628. [
  629. 'name' => '一键拨号',
  630. 'link' => 'tel',
  631. 'open_type' => 'tel',
  632. 'params' => [
  633. [
  634. 'key' => "tel",
  635. 'value' => "",
  636. 'desc' => "请填写联系电话"
  637. ]
  638. ],
  639. ],
  640. [
  641. 'name' => '小程序',
  642. 'link' => 'wxapp',
  643. 'open_type' => 'wxapp',
  644. 'params' => [
  645. [
  646. 'key' => "appid",
  647. 'value' => "",
  648. 'desc' => "请填写小程序appid"
  649. ],
  650. [
  651. 'key' => "path",
  652. 'value' => "",
  653. 'desc' => "打开的页面路径,如pages/index/index,开头请勿加“/”"
  654. ],
  655. ],
  656. ],
  657. [
  658. 'name' => '微信客服',
  659. 'link' => 'contact',
  660. 'open_type' => 'contact',
  661. 'params' => []
  662. ],
  663. [
  664. 'name' => '官方客服',
  665. 'link' => '/kefu/kefu',
  666. 'open_type' => 'navigate',
  667. 'params' => [],
  668. ],
  669. // [
  670. // 'name' => '外链',
  671. // 'link' => 'web',
  672. // 'open_type' => 'web',
  673. // 'params' => [
  674. // [
  675. // 'key' => "web",
  676. // 'value' => "",
  677. // 'desc' => "打开的网页链接(注:域名必须已在微信官方小程序平台设置业务域名)"
  678. // ]
  679. // ],
  680. // ],
  681. [
  682. 'name' => '核销扫码',
  683. 'link' => 'clerk',
  684. 'open_type' => 'clerk',
  685. 'params' => [],
  686. ],
  687. [
  688. 'name' => '我的核销码',
  689. 'link' => '/face-pay/face-pay/member',
  690. 'open_type' => 'navigate',
  691. 'params' => [],
  692. ],
  693. [
  694. 'name' => '手机端后台',
  695. 'link' => '/admin/home/home',
  696. 'open_type' => 'navigate',
  697. 'params' => [],
  698. ],
  699. [
  700. 'name' => '短视频列表',
  701. 'link' => '/videoGoods/list/index',
  702. 'open_type' => 'navigate',
  703. 'params' => [],
  704. ],
  705. [
  706. 'name' => '短视频中心',
  707. 'link' => '/videoGoods/userInfo/index',
  708. 'open_type' => 'navigate',
  709. 'params' => [],
  710. ],
  711. [
  712. 'name' => '我的砍价',
  713. 'link' => '/marketing/curPrice/order/list/index',
  714. 'open_type' => 'navigate',
  715. 'params' => [],
  716. ],
  717. [
  718. 'name' => '砍价活动',
  719. 'link' => '/marketing/curPrice/index/index',
  720. 'open_type' => 'navigate',
  721. 'params' => [
  722. // [
  723. // 'key' => "activity_cut_price_id",
  724. // 'value' => "",
  725. // 'desc' => "id请填写在砍价活动列表中相关活动的ID"
  726. // ]
  727. ],
  728. ],
  729. [
  730. 'name' => '认养',
  731. 'link' => '/livestockAdoption/index/index',
  732. 'open_type' => 'navigate',
  733. 'params' => [],
  734. ],
  735. [
  736. 'name' => "认养详情",
  737. 'link' => "/livestockAdoption/adopt_detail/adopt_detail",
  738. 'open_type' => "navigate",
  739. 'params' => [
  740. [
  741. 'key' => "id",
  742. 'value' => "",
  743. 'desc' => "id请填写在认养商品列表中相关商品的ID"
  744. ]
  745. ]
  746. ],
  747. [
  748. 'name' => "认养订单",
  749. 'link' => "/livestockAdoption/my_order/my_order?status=-1",
  750. 'open_type' => "navigate",
  751. 'params' => []
  752. ],
  753. [
  754. 'name' => '认养设备',
  755. 'link' => '/livestockAdoption/camera/camera',
  756. 'open_type' => 'navigate',
  757. 'params' => [],
  758. ],
  759. [
  760. 'name' => '溯源专区',
  761. 'link' => '/source/index/index',
  762. 'open_type' => 'navigate',
  763. 'params' => [],
  764. ],
  765. [
  766. 'name' => '我的溯源',
  767. 'link' => '/source/mySource/mySource',
  768. 'open_type' => 'navigate',
  769. 'params' => [],
  770. ],
  771. [
  772. 'name' => '积分商城',
  773. 'link' => '/integral/integralStore/index',
  774. 'open_type' => 'navigate',
  775. 'params' => [],
  776. ],
  777. [
  778. 'name' => '储值卡兑换',
  779. 'link' => '/user/write_off_card/recharge_card',
  780. 'open_type' => 'navigate',
  781. 'params' => [],
  782. ],
  783. [
  784. 'name' => '拼团首页',
  785. 'link' => '/pt/index/index',
  786. 'open_type' => 'navigate',
  787. 'params' => [],
  788. ],
  789. [
  790. 'name' => '拼团广场',
  791. 'link' => '/pt/square/index',
  792. 'open_type' => 'navigate',
  793. 'params' => [],
  794. ],
  795. [
  796. 'name' => '我的拼团',
  797. 'link' => '/pt/order/index',
  798. 'open_type' => 'navigate',
  799. 'params' => [],
  800. ],
  801. [
  802. 'name' => "积分赠送",
  803. 'link' => "/marketing/mutate/index",
  804. 'open_type' => "navigate",
  805. 'params' => [
  806. [
  807. 'key' => "type",
  808. 'value' => "",
  809. 'desc' => "type请填写0.积分转赠 1.余额转赠 2.佣金转余额"
  810. ]
  811. ]
  812. ]
  813. ];
  814. // 平台运营菜单
  815. const PLATFORM_LIST = [
  816. [
  817. 'name' => '分类',
  818. 'link' => '/pages/cat/cat',
  819. 'open_type' => "navigate",
  820. 'params' => [
  821. [
  822. 'key' => "cat_id",
  823. 'value' => "",
  824. 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  825. ]
  826. ]
  827. ],
  828. [
  829. 'name' => '当面付',
  830. 'link' => '/face-pay/face-pay/payOut',
  831. 'open_type' => "navigate",
  832. 'params' => []
  833. ],
  834. [
  835. 'name' => '点餐',
  836. 'link' => '/alipay-order/orderMeal/orderMeal',
  837. 'open_type' => 'navigate',
  838. 'params' => [
  839. [
  840. 'key' => "food_table_num",
  841. 'value' => "",
  842. 'desc' => "桌号"
  843. ]
  844. ],
  845. ],
  846. [
  847. 'name' => '商品列表',
  848. 'link' => '/other/list/list',
  849. 'open_type' => "navigate",
  850. 'params' => [
  851. [
  852. 'key' => "cat_id",
  853. 'value' => "",
  854. 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  855. ]
  856. ]
  857. ],
  858. [
  859. 'name' => "商品详情",
  860. 'link' => "/goods/goods/goods",
  861. 'open_type' => "navigate",
  862. 'params' => [
  863. [
  864. 'key' => "id",
  865. 'value' => "",
  866. 'desc' => "id请填写在商品列表中相关商品的ID"
  867. ]
  868. ]
  869. ],
  870. [
  871. 'name' => "领券中心",
  872. 'link' => "/pages/coupon_center/coupon_center",
  873. 'open_type' => "navigate",
  874. 'params' => []
  875. ],
  876. [
  877. 'name' => "专题",
  878. 'link' => "/other/special/special",
  879. 'open_type' => "navigate",
  880. 'params' => []
  881. ],
  882. [
  883. 'name' => "专题详情",
  884. 'link' => "/other/special/topic",
  885. 'open_type' => "navigate",
  886. 'params' => [
  887. [
  888. 'key' => "id",
  889. 'value' => "",
  890. 'desc' => "id请填写对应的专题ID"
  891. ]
  892. ]
  893. ],
  894. [
  895. 'name' => '一键拨号',
  896. 'link' => 'tel',
  897. 'open_type' => 'tel',
  898. 'params' => [
  899. [
  900. 'key' => "tel",
  901. 'value' => "",
  902. 'desc' => "请填写联系电话"
  903. ]
  904. ],
  905. ],
  906. [
  907. 'name' => '官方客服',
  908. 'link' => '/kefu/kefu',
  909. 'open_type' => 'navigate',
  910. 'params' => [],
  911. ],
  912. ];
  913. public static function getLink()
  914. {
  915. $store_id = get_store_id();
  916. $store = Store::findOne($store_id);
  917. $list = self::PLATFORM_LIST;
  918. if ($store->business_model == 1) { //独立运营才走这个
  919. $list = self::LIST;
  920. $system_list = NewDiyTemplate::find()
  921. ->where([
  922. 'store_id' => get_store_id(),
  923. 'is_delete' => 0,
  924. 'name' => 'system'
  925. ])->orderBy(['id' => SORT_ASC])->asArray()->all();
  926. // if (\Yii::$app->prod_is_dandianpu()) {
  927. // $list[] = [
  928. // 'name' => '申请店铺',
  929. // 'link' => '/single-store/applyShop/applyShop',
  930. // 'open_type' => "navigate",
  931. // 'params' => []
  932. // ];
  933. // }
  934. foreach ($list as $key => &$value) {
  935. foreach ($system_list as $k => $v) {
  936. $template = json_decode($v['template'], true);
  937. if ($template && is_array($template) && isset($template['page_name'])) {
  938. if ($value['name'] == $template['page_name']) {
  939. $value['id'] = $v['id'];
  940. }
  941. }
  942. }
  943. }
  944. }
  945. $template = NewDiyTemplate::find()->where([
  946. 'store_id' => get_store_id(),
  947. 'is_index' => 0,
  948. 'is_delete' => 0,
  949. 'name' => 'DIY',
  950. ])->all();
  951. foreach($template as $item) {
  952. $info = Json::decode($item->template);
  953. $list[] = [
  954. 'name' => $info['page_name'],
  955. 'link' => "/pages/diy/diy?id=".$item->id,
  956. 'id' => $item->id,
  957. 'open_type' => "navigate",
  958. 'params' => []
  959. ];
  960. }
  961. return $list;
  962. }
  963. //连接选择器(分组版)
  964. public static function getLinkGroup()
  965. {
  966. $store_id = get_store_id();
  967. $store = Store::findOne($store_id);
  968. $groupDiyPage = [];
  969. $template = NewDiyTemplate::find()->where([
  970. 'store_id' => get_store_id(),
  971. 'is_index' => 0,
  972. 'is_delete' => 0,
  973. 'name' => 'DIY',
  974. ])->all();
  975. foreach($template as $item) {
  976. $info = Json::decode($item->template);
  977. $groupDiyPage[] = [
  978. 'name' => $info['page_name'],
  979. 'link' => "/pages/diy/diy?id=".$item->id,
  980. 'id' => $item->id,
  981. 'open_type' => "navigate",
  982. 'params' => []
  983. ];
  984. }
  985. $list = self::PLATFORM_LIST;
  986. if ($store->business_model == 1) { //独立运营才走这个
  987. $list = self::LIST;
  988. $system_list = NewDiyTemplate::find()
  989. ->where([
  990. 'store_id' => get_store_id(),
  991. 'is_delete' => 0,
  992. 'name' => 'system'
  993. ])->orderBy(['id' => SORT_ASC])->asArray()->all();
  994. // if (\Yii::$app->prod_is_dandianpu()) {
  995. // $list[] = [
  996. // 'name' => '申请店铺',
  997. // 'link' => '/single-store/applyShop/applyShop',
  998. // 'open_type' => "navigate",
  999. // 'params' => []
  1000. // ];
  1001. // }
  1002. foreach ($list as $key => &$value) {
  1003. foreach ($system_list as $k => $v) {
  1004. $template = json_decode($v['template'], true);
  1005. if ($template && is_array($template) && isset($template['page_name'])) {
  1006. if ($value['name'] == $template['page_name']) {
  1007. $value['id'] = $v['id'];
  1008. }
  1009. }
  1010. }
  1011. }
  1012. }else{
  1013. return [
  1014. [
  1015. 'name' => '商城页面',
  1016. 'child' => [
  1017. [
  1018. 'name' => 'DIY页面',
  1019. 'list' => $groupDiyPage,
  1020. 'type' => 'diy-page',
  1021. ],
  1022. [
  1023. 'name' => '商城链接',
  1024. 'child' => [
  1025. [
  1026. 'name' => '基础链接',
  1027. 'list' => $list
  1028. ]
  1029. ]
  1030. ],
  1031. [
  1032. 'name' => '应用',
  1033. 'child' => [
  1034. [
  1035. 'name' => '预约',
  1036. 'list' => [
  1037. [
  1038. 'name' => '预约活动',
  1039. 'link' => '/marketing/booking/index/index',
  1040. 'open_type' => 'navigate',
  1041. 'params' => [],
  1042. ],
  1043. ],
  1044. ],
  1045. [
  1046. 'name' => '扫码点餐',
  1047. 'list' => [
  1048. [
  1049. 'name' => '点餐页',
  1050. 'link' => '/alipay-order/orderMeal/orderMeal',
  1051. 'open_type' => 'navigate',
  1052. 'params' => [
  1053. [
  1054. 'key' => "food_table_num",
  1055. 'value' => "",
  1056. 'desc' => "桌号"
  1057. ]
  1058. ],
  1059. ],
  1060. // [
  1061. // 'name' => '点餐预约',
  1062. // 'link' => '/alipay-order/appointment/appointment',
  1063. // 'open_type' => 'navigate',
  1064. // 'params' => [],
  1065. // ],
  1066. [
  1067. 'name' => '点餐订单列表',
  1068. 'link' => '/alipay-order/order/list',
  1069. 'open_type' => "navigate",
  1070. 'params' => []
  1071. ],
  1072. ]
  1073. ],
  1074. [
  1075. 'name' => '拼团',
  1076. 'list' => [
  1077. [
  1078. 'name' => '商品列表',
  1079. 'link' => '/marketing/other/pt/list/index',
  1080. 'open_type' => 'navigate',
  1081. 'params' => [
  1082. ],
  1083. ],
  1084. // [
  1085. // 'name' => '我的拼团',
  1086. // 'link' => '/marketing/other/pt/order/index',
  1087. // 'open_type' => "navigate",
  1088. // 'params' => []
  1089. // ],
  1090. ]
  1091. ],
  1092. [
  1093. 'name' => '砍价',
  1094. 'list' => [
  1095. [
  1096. 'name' => '商品列表',
  1097. 'link' => '/marketing/other/bargain/list/index',
  1098. 'open_type' => 'navigate',
  1099. 'params' => [
  1100. ],
  1101. ],
  1102. // [
  1103. // 'name' => '我的砍价',
  1104. // 'link' => '/marketing/other/bargain/order/list/index',
  1105. // 'open_type' => "navigate",
  1106. // 'params' => []
  1107. // ],
  1108. ]
  1109. ],
  1110. [
  1111. 'name' => '秒杀',
  1112. 'list' => [
  1113. [
  1114. 'name' => '商品列表',
  1115. 'link' => '/marketing/other/seckill/list/index',
  1116. 'open_type' => 'navigate',
  1117. 'params' => [
  1118. ],
  1119. ],
  1120. ]
  1121. ],
  1122. [
  1123. 'name' => '新人专享',
  1124. 'list' => [
  1125. [
  1126. 'name' => '商品列表',
  1127. 'link' => '/marketing/other/newUser/list/index',
  1128. 'open_type' => 'navigate',
  1129. 'params' => [
  1130. ],
  1131. ],
  1132. ]
  1133. ],
  1134. [
  1135. 'name' => '积分商城',
  1136. 'list' => [
  1137. [
  1138. 'name' => '积分商城',
  1139. 'link' => '/marketing/integral/index/index',
  1140. 'open_type' => 'navigate',
  1141. 'params' => [
  1142. ],
  1143. ]
  1144. ]
  1145. ],
  1146. ]
  1147. ]
  1148. ],
  1149. ],
  1150. [
  1151. 'name' => '商品页面',
  1152. 'icon' => 'shopping',
  1153. 'child' => [
  1154. [
  1155. 'name' => '商品分类',
  1156. 'type' => 'goods-cat',
  1157. 'typeLink' => [
  1158. 'name' => '分类',
  1159. 'link' => '/pages/cat/cat',
  1160. 'open_type' => "navigate",
  1161. 'params' => [
  1162. [
  1163. 'key' => "cat_id",
  1164. 'valueKey' => "id",
  1165. 'value' => "",
  1166. 'desc' => "cat_id请填写在商品分类中相关分类的ID",
  1167. ]
  1168. ]
  1169. ],
  1170. ],
  1171. [
  1172. 'name' => '商品',
  1173. 'type' => 'goods',
  1174. 'typeLink' => [
  1175. 'name' => "商品详情",
  1176. 'link' => "/goods/goods/goods",
  1177. 'open_type' => "navigate",
  1178. 'params' => [
  1179. [
  1180. 'key' => "id",
  1181. 'valueKey' => "id",
  1182. 'value' => "",
  1183. 'desc' => "id请填写在商品列表中相关商品的ID",
  1184. ]
  1185. ]
  1186. ],
  1187. ]
  1188. ]
  1189. ],
  1190. [
  1191. 'name' => '文章页面',
  1192. 'icon' => 'file-text',
  1193. 'child' => [
  1194. // [
  1195. // 'name' => '文章',
  1196. // 'type' => 'article',
  1197. // 'typeLink' => [
  1198. // 'name' => "专题详情",
  1199. // 'link' => "/other/special/topic",
  1200. // 'open_type' => "navigate",
  1201. // 'params' => [
  1202. // [
  1203. // 'key' => "id",
  1204. // 'valueKey' => "id",
  1205. // 'value' => "",
  1206. // 'desc' => "id请填写对应的专题ID"
  1207. // ]
  1208. // ]
  1209. // ],
  1210. // ],
  1211. [
  1212. 'name' => '专题页',
  1213. 'type' => 'special',
  1214. 'typeLink' => [
  1215. 'name' => "专题详情",
  1216. 'link' => "/other/special/topic",
  1217. 'open_type' => "navigate",
  1218. 'params' => [
  1219. [
  1220. 'key' => "id",
  1221. 'valueKey' => "id",
  1222. 'value' => "",
  1223. 'desc' => "id请填写对应的专题ID"
  1224. ]
  1225. ]
  1226. ],
  1227. ],
  1228. ],
  1229. ],
  1230. ];
  1231. }
  1232. return [
  1233. [
  1234. 'name' => '商城页面',
  1235. 'icon' => 'shop',
  1236. 'child' => [
  1237. [
  1238. 'name' => 'DIY页面',
  1239. 'list' => $groupDiyPage,
  1240. 'type' => 'diy-page',
  1241. ],
  1242. [
  1243. 'name' => '商城链接',
  1244. 'child' => [
  1245. [
  1246. 'name' => '基础链接',
  1247. 'list' => [
  1248. [
  1249. 'name' => '商城首页',
  1250. 'link' => '/pages/home/home',
  1251. 'open_type' => "switchtab",
  1252. 'params' => []
  1253. ],
  1254. [
  1255. 'name' => '购物车',
  1256. 'link' => '/pages/shoppingcart/shoppingcart',
  1257. 'open_type' => "switchtab",
  1258. 'params' => []
  1259. ],
  1260. [
  1261. 'name' => '我的',
  1262. 'link' => '/pages/my/my',
  1263. 'open_type' => "switchtab",
  1264. 'params' => []
  1265. ],
  1266. [
  1267. 'name' => '商城分类',
  1268. 'link' => '/pages/cat/cat',
  1269. 'open_type' => "switchtab",
  1270. 'params' => []
  1271. ],
  1272. [
  1273. 'name' => '商品列表',
  1274. 'link' => '/other/list/list',
  1275. 'open_type' => "navigate",
  1276. 'params' => [
  1277. [
  1278. 'key' => "cat_id",
  1279. 'value' => "",
  1280. 'desc' => "cat_id请填写在商品分类中相关分类的ID"
  1281. ]
  1282. ]
  1283. ],
  1284. [
  1285. 'name' => '付款码',
  1286. 'link' => '/face-pay/face-pay/collection',
  1287. 'open_type' => "navigate",
  1288. 'params' => []
  1289. ],
  1290. [
  1291. 'name' => "关于我们",
  1292. 'link' => "/user/my/article-detail",
  1293. 'open_type' => "navigate",
  1294. 'params' => []
  1295. ],
  1296. [
  1297. 'name' => "专题",
  1298. 'link' => "/other/special/special",
  1299. 'open_type' => "navigate",
  1300. 'params' => []
  1301. ],
  1302. [
  1303. 'name' => "搜索",
  1304. 'link' => "/pages/search/search",
  1305. 'open_type' => "navigate",
  1306. 'params' => []
  1307. ],
  1308. [
  1309. 'name' => '推广二维码',
  1310. 'link' => '/user/share-qrcode/share-qrcode',
  1311. 'open_type' => "navigate",
  1312. 'params' => []
  1313. ],
  1314. [
  1315. 'name' => '新版本DIY',
  1316. 'link' => '/diy/diyNew/index',
  1317. 'open_type' => "navigate",
  1318. 'params' => []
  1319. ],
  1320. [
  1321. 'name' => '一键拨号',
  1322. 'link' => 'tel',
  1323. 'open_type' => 'tel',
  1324. 'params' => [
  1325. [
  1326. 'key' => "tel",
  1327. 'value' => "",
  1328. 'desc' => "请填写联系电话"
  1329. ]
  1330. ],
  1331. ],
  1332. [
  1333. 'name' => '小程序',
  1334. 'link' => 'wxapp',
  1335. 'open_type' => 'wxapp',
  1336. 'params' => [
  1337. [
  1338. 'key' => "appid",
  1339. 'value' => "",
  1340. 'desc' => "请填写小程序appid"
  1341. ],
  1342. [
  1343. 'key' => "path",
  1344. 'value' => "",
  1345. 'desc' => "打开的页面路径,如pages/index/index,开头请勿加“/”"
  1346. ],
  1347. ],
  1348. ],
  1349. [
  1350. 'name' => '微信客服',
  1351. 'link' => 'contact',
  1352. 'open_type' => 'contact',
  1353. 'params' => []
  1354. ],
  1355. [
  1356. 'name' => '官方客服',
  1357. 'link' => '/kefu/kefu',
  1358. 'open_type' => 'navigate',
  1359. 'params' => [],
  1360. ],
  1361. // [
  1362. // 'name' => '外链',
  1363. // 'link' => 'web',
  1364. // 'open_type' => 'web',
  1365. // 'params' => [
  1366. // [
  1367. // 'key' => "web",
  1368. // 'value' => "",
  1369. // 'desc' => "打开的网页链接(注:域名必须已在微信官方小程序平台设置业务域名)"
  1370. // ]
  1371. // ],
  1372. // ],
  1373. [
  1374. 'name' => '核销扫码',
  1375. 'link' => 'clerk',
  1376. 'open_type' => 'clerk',
  1377. 'params' => [],
  1378. ],
  1379. [
  1380. 'name' => '我的核销码',
  1381. 'link' => '/face-pay/face-pay/member',
  1382. 'open_type' => 'navigate',
  1383. 'params' => [],
  1384. ],
  1385. [
  1386. 'name' => '手机端后台',
  1387. 'link' => '/admin/home/home',
  1388. 'open_type' => 'navigate',
  1389. 'params' => [],
  1390. ],
  1391. [
  1392. 'name' => '品牌中心',
  1393. 'link' => '/other/brand/index',
  1394. 'open_type' => 'navigate',
  1395. 'params' => [],
  1396. ],
  1397. [
  1398. 'name' => '品牌分类',
  1399. 'link' => '/brandZone/index/index',
  1400. 'open_type' => 'navigate',
  1401. 'params' => [],
  1402. ]
  1403. ],
  1404. ],
  1405. [
  1406. 'name' => '个人中心',
  1407. 'list' => [
  1408. [
  1409. 'name' => "浏览记录",
  1410. 'link' => "/user/history/history",
  1411. 'open_type' => "navigate",
  1412. 'params' => []
  1413. ],
  1414. [
  1415. 'name' => "所有订单",
  1416. 'link' => "/order/order/order?status=-1",
  1417. 'open_type' => "navigate",
  1418. 'params' => []
  1419. ],
  1420. [
  1421. 'name' => "待付款订单",
  1422. 'link' => "/order/order/order?status=0",
  1423. 'open_type' => "navigate",
  1424. 'params' => []
  1425. ],
  1426. [
  1427. 'name' => "待发货订单",
  1428. 'link' => "/order/order/order?status=1",
  1429. 'open_type' => "navigate",
  1430. 'params' => []
  1431. ],
  1432. [
  1433. 'name' => "待收货订单",
  1434. 'link' => "/order/order/order?status=2",
  1435. 'open_type' => "navigate",
  1436. 'params' => []
  1437. ],
  1438. [
  1439. 'name' => "已完成订单",
  1440. 'link' => "/order/order/order?status=3",
  1441. 'open_type' => "navigate",
  1442. 'params' => []
  1443. ],
  1444. [
  1445. 'name' => "售后订单",
  1446. 'link' => "/order/order-refund-list/order-refund-list",
  1447. 'open_type' => "navigate",
  1448. 'params' => []
  1449. ],
  1450. [
  1451. 'name' => "我的收藏",
  1452. 'link' => "/user/collection/collection",
  1453. 'open_type' => "navigate",
  1454. 'params' => []
  1455. ],
  1456. [
  1457. 'name' => "地址管理",
  1458. 'link' => "/user/my/addressmanage",
  1459. 'open_type' => "navigate",
  1460. 'params' => []
  1461. ],
  1462. [
  1463. 'name' => "余额",
  1464. 'link' => "/user/balance/balance",
  1465. 'open_type' => "navigate",
  1466. 'params' => []
  1467. ],
  1468. [
  1469. 'name' => "充值",
  1470. 'link' => "/user/balance/recharge",
  1471. 'open_type' => "navigate",
  1472. 'params' => []
  1473. ],
  1474. [
  1475. 'name' => '会员中心',
  1476. 'link' => '/user/member/member_center',
  1477. 'open_type' => "navigate",
  1478. 'params' => []
  1479. ],
  1480. [
  1481. 'name' => '视频列表',
  1482. 'link' => '/marketing/video/list/index',
  1483. 'open_type' => "navigate",
  1484. 'params' => []
  1485. ],
  1486. [
  1487. 'name' => '我的发票-开票历史',
  1488. 'link' => '/invoice/manage/index?index=1',
  1489. 'open_type' => "navigate",
  1490. 'params' => [
  1491. [
  1492. 'key' => "index",
  1493. 'value' => "1",
  1494. 'desc' => "开票历史"
  1495. ],
  1496. ]
  1497. ],
  1498. [
  1499. 'name' => '手机号条形码',
  1500. 'link' => '/teamCenter/phoneCode/phoneCode',
  1501. 'open_type' => "navigate",
  1502. ],
  1503. [
  1504. 'name' => '常购清单',
  1505. 'link' => '/brandZone/purchaseCatList/purchaseCatList',
  1506. 'open_type' => "navigate",
  1507. ],
  1508. ],
  1509. ],
  1510. [
  1511. 'name' => '分销',
  1512. 'list' => [
  1513. [
  1514. 'name' => "分销中心",
  1515. 'link' => "/user/share/index",
  1516. 'open_type' => "navigate",
  1517. 'params' => []
  1518. ],
  1519. ],
  1520. ],
  1521. ],
  1522. ],
  1523. [
  1524. 'name' => '应用',
  1525. 'child' => [
  1526. [
  1527. 'name' => '优惠券',
  1528. 'list' => [
  1529. [
  1530. 'name' => "领券中心",
  1531. 'link' => "/other/coupon_center/coupon_center",
  1532. 'open_type' => "navigate",
  1533. 'params' => []
  1534. ],
  1535. [
  1536. 'name' => "我的优惠券",
  1537. 'link' => "/user/my_coupon/my_coupon",
  1538. 'open_type' => "navigate",
  1539. 'params' => []
  1540. ]
  1541. ],
  1542. ],
  1543. [
  1544. 'name' => '卡券',
  1545. 'list' => [
  1546. [
  1547. 'name' => "可赠送卡券列表",
  1548. 'link' => "/user/write_off_card/write_index",
  1549. 'open_type' => "navigate",
  1550. 'params' => []
  1551. ],
  1552. [
  1553. 'name' => "我的核销卡",
  1554. 'link' => "/user/write_off_card/write_off_card",
  1555. 'open_type' => "navigate",
  1556. 'params' => [
  1557. [
  1558. 'key' => "type",
  1559. 'value' => "1",
  1560. 'desc' => "我的核销卡"
  1561. ],
  1562. ]
  1563. ],
  1564. [
  1565. 'name' => "我的礼品卡",
  1566. 'link' => "/user/write_off_card/write_off_card",
  1567. 'open_type' => "navigate",
  1568. 'params' => [
  1569. [
  1570. 'key' => "type",
  1571. 'value' => "2",
  1572. 'desc' => "我的礼品卡"
  1573. ],
  1574. ]
  1575. ],
  1576. [
  1577. 'name' => "我的储值卡",
  1578. 'link' => "/user/write_off_card/write_off_card",
  1579. 'open_type' => "navigate",
  1580. 'params' => [
  1581. [
  1582. 'key' => "type",
  1583. 'value' => "3",
  1584. 'desc' => "我的储值卡"
  1585. ],
  1586. ]
  1587. ],
  1588. [
  1589. 'name' => "我的虚拟卡",
  1590. 'link' => "/user/write_off_card/write_off_card",
  1591. 'open_type' => "navigate",
  1592. 'params' => [
  1593. [
  1594. 'key' => "type",
  1595. 'value' => "4",
  1596. 'desc' => "我的虚拟卡"
  1597. ],
  1598. ]
  1599. ],
  1600. [
  1601. 'name' => "我的视频卡",
  1602. 'link' => "/user/write_off_card/write_off_card",
  1603. 'open_type' => "navigate",
  1604. 'params' => [
  1605. [
  1606. 'key' => "type",
  1607. 'value' => "5",
  1608. 'desc' => "我的视频卡"
  1609. ],
  1610. ]
  1611. ],
  1612. [
  1613. 'name' => '储值卡兑换',
  1614. 'link' => '/user/write_off_card/recharge_card',
  1615. 'open_type' => 'navigate',
  1616. 'params' => [],
  1617. ],
  1618. ],
  1619. ],
  1620. [
  1621. 'name' => '预约',
  1622. 'list' => [
  1623. [
  1624. 'name' => '预约活动',
  1625. 'link' => '/marketing/booking/index/index',
  1626. 'open_type' => 'navigate',
  1627. 'params' => [],
  1628. ],
  1629. ],
  1630. ],
  1631. [
  1632. 'name' => '砍价',
  1633. 'list' => [
  1634. [
  1635. 'name' => '我的砍价',
  1636. 'link' => '/marketing/curPrice/order/list/index',
  1637. 'open_type' => 'navigate',
  1638. 'params' => [],
  1639. ],
  1640. [
  1641. 'name' => '砍价活动',
  1642. 'link' => '/marketing/curPrice/index/index',
  1643. 'open_type' => 'navigate',
  1644. 'params' => [
  1645. // [
  1646. // 'key' => "activity_cut_price_id",
  1647. // 'value' => "",
  1648. // 'desc' => "id请填写在砍价活动列表中相关活动的ID"
  1649. // ]
  1650. ],
  1651. ],
  1652. ],
  1653. ],
  1654. [
  1655. 'name' => '秒杀',
  1656. 'list' => [
  1657. [
  1658. 'name' => '秒杀活动',
  1659. 'link' => '/seckill/list/index',
  1660. 'open_type' => 'navigate',
  1661. 'params' => [
  1662. [
  1663. 'key' => "activeId",
  1664. 'value' => "",
  1665. 'desc' => "id请填写在秒杀活动列表中相关活动的ID"
  1666. ]
  1667. ],
  1668. ],
  1669. ],
  1670. ],
  1671. [
  1672. 'name' => '拼团',
  1673. 'list' => [
  1674. [
  1675. 'name' => '拼团首页',
  1676. 'link' => '/pt/index/index',
  1677. 'open_type' => 'navigate',
  1678. 'params' => [],
  1679. ],
  1680. [
  1681. 'name' => '拼团广场',
  1682. 'link' => '/pt/square/index',
  1683. 'open_type' => 'navigate',
  1684. 'params' => [],
  1685. ],
  1686. [
  1687. 'name' => '我的拼团',
  1688. 'link' => '/pt/order/index',
  1689. 'open_type' => 'navigate',
  1690. 'params' => [],
  1691. ]
  1692. ],
  1693. ],
  1694. [
  1695. 'name' => '新人专享',
  1696. 'list' => [
  1697. [
  1698. 'name' => '新人专享',
  1699. 'link' => '/marketing/newUser/index/index',
  1700. 'open_type' => 'navigate',
  1701. 'params' => [
  1702. ],
  1703. ],
  1704. [
  1705. 'name' => '更多商品',
  1706. 'link' => '/marketing/newUser/list/index',
  1707. 'open_type' => 'navigate',
  1708. 'params' => [
  1709. ],
  1710. ],
  1711. ]
  1712. ],
  1713. [
  1714. 'name' => '扫码点餐',
  1715. 'list' => [
  1716. [
  1717. 'name' => '点餐页',
  1718. 'link' => '/alipay-order/orderMeal/orderMeal',
  1719. 'open_type' => 'navigate',
  1720. 'params' => [
  1721. [
  1722. 'key' => "food_table_num",
  1723. 'value' => "",
  1724. 'desc' => "桌号"
  1725. ]
  1726. ],
  1727. ],
  1728. // [
  1729. // 'name' => '点餐预约',
  1730. // 'link' => '/alipay-order/appointment/appointment',
  1731. // 'open_type' => 'navigate',
  1732. // 'params' => [],
  1733. // ],
  1734. [
  1735. 'name' => '点餐订单列表',
  1736. 'link' => '/alipay-order/order/list',
  1737. 'open_type' => "navigate",
  1738. 'params' => []
  1739. ],
  1740. ],
  1741. ],
  1742. [
  1743. 'name' => '认养',
  1744. 'list' => [
  1745. [
  1746. 'name' => '认养',
  1747. 'link' => '/livestockAdoption/index/index',
  1748. 'open_type' => 'navigate',
  1749. 'params' => [],
  1750. ],
  1751. [
  1752. 'name' => "认养详情",
  1753. 'link' => "/livestockAdoption/adopt_detail/adopt_detail",
  1754. 'open_type' => "navigate",
  1755. 'params' => [
  1756. [
  1757. 'key' => "id",
  1758. 'value' => "",
  1759. 'desc' => "id请填写在认养商品列表中相关商品的ID"
  1760. ]
  1761. ]
  1762. ],
  1763. [
  1764. 'name' => "认养订单",
  1765. 'link' => "/livestockAdoption/my_order/my_order?status=-1",
  1766. 'open_type' => "navigate",
  1767. 'params' => []
  1768. ],
  1769. [
  1770. 'name' => '认养设备',
  1771. 'link' => '/livestockAdoption/camera/camera',
  1772. 'open_type' => 'navigate',
  1773. 'params' => [],
  1774. ],
  1775. ],
  1776. ],
  1777. [
  1778. 'name' => '溯源',
  1779. 'list' => [
  1780. [
  1781. 'name' => '溯源专区',
  1782. 'link' => '/source/index/index',
  1783. 'open_type' => 'navigate',
  1784. 'params' => [],
  1785. ],
  1786. [
  1787. 'name' => '我的溯源',
  1788. 'link' => '/source/mySource/mySource',
  1789. 'open_type' => 'navigate',
  1790. 'params' => [],
  1791. ],
  1792. ],
  1793. ],
  1794. [
  1795. 'name' => '门店',
  1796. 'list' => [
  1797. [
  1798. 'name' => "门店中心",
  1799. 'link' => "/md_admin/md-center/md",
  1800. 'open_type' => "navigate",
  1801. 'params' => []
  1802. ],
  1803. [
  1804. 'name' => "申请门店",
  1805. 'link' => "/md_admin/apply-md/apply",
  1806. 'open_type' => "navigate",
  1807. 'params' => []
  1808. ],
  1809. [
  1810. 'name' => "门店员工中心",
  1811. 'link' => "/md_admin/staff-center/staff",
  1812. 'open_type' => "navigate",
  1813. 'params' => []
  1814. ],
  1815. [
  1816. 'name' => "门店列表",
  1817. 'link' => "/other/store_list/index",
  1818. 'open_type' => "navigate",
  1819. 'link_type' => 'md_list',
  1820. 'params' => [
  1821. [
  1822. 'key' => "id",
  1823. 'value' => "",
  1824. 'desc' => "门店分类ID"
  1825. ],
  1826. ]
  1827. ],
  1828. ],
  1829. ],
  1830. [
  1831. 'name' => '短视频',
  1832. 'list' => [
  1833. [
  1834. 'name' => '短视频列表',
  1835. 'link' => '/videoGoods/list/index',
  1836. 'open_type' => 'navigate',
  1837. 'params' => [],
  1838. ],
  1839. [
  1840. 'name' => '短视频中心',
  1841. 'link' => '/videoGoods/userInfo/index',
  1842. 'open_type' => 'navigate',
  1843. 'params' => [],
  1844. ],
  1845. ],
  1846. ],
  1847. [
  1848. 'name' => '消费全返',
  1849. 'list' => [
  1850. [
  1851. 'name' => '我的返利',
  1852. 'link' => '/rebateSelf/index/index',
  1853. 'open_type' => 'navigate',
  1854. 'params' => [],
  1855. ],
  1856. ],
  1857. ],
  1858. [
  1859. 'name' => '股东',
  1860. 'list' => [
  1861. [
  1862. 'name' => "申请股东",
  1863. 'link' => "/shareholder/apply/apply",
  1864. 'open_type' => "navigate",
  1865. 'params' => []
  1866. ],
  1867. [
  1868. 'name' => "股东中心",
  1869. 'link' => "/shareholder/shareholder/index",
  1870. 'open_type' => "navigate",
  1871. 'params' => []
  1872. ],
  1873. ],
  1874. ],
  1875. [
  1876. 'name' => '2+1链动',
  1877. 'list' => [
  1878. [
  1879. 'name' => "团队中心",
  1880. 'link' => "/chain/index/index",
  1881. 'open_type' => "navigate",
  1882. 'params' => []
  1883. ],
  1884. [
  1885. 'name' => "团队数据",
  1886. 'link' => "/chain/teamData/index",
  1887. 'open_type' => "navigate",
  1888. 'params' => []
  1889. ],
  1890. [
  1891. 'name' => "链动佣金",
  1892. 'link' => "/chain/commission/index",
  1893. 'open_type' => "navigate",
  1894. 'params' => []
  1895. ],
  1896. [
  1897. 'name' => "帮扶佣金",
  1898. 'link' => "/chain/frozenAmount/index",
  1899. 'open_type' => "navigate",
  1900. 'params' => []
  1901. ],
  1902. [
  1903. 'name' => "复购冻结佣金",
  1904. 'link' => "/fugou/index/index",
  1905. 'open_type' => "navigate",
  1906. 'params' => []
  1907. ],
  1908. ],
  1909. ],
  1910. [
  1911. 'name' => '区域代理',
  1912. 'list' => [
  1913. [
  1914. 'name' => "代理申请",
  1915. 'link' => "/area/apply/index",
  1916. 'open_type' => "navigate",
  1917. 'params' => []
  1918. ],
  1919. [
  1920. 'name' => "代理中心",
  1921. 'link' => "/area/userInfo/index",
  1922. 'open_type' => "navigate",
  1923. 'params' => []
  1924. ],
  1925. ],
  1926. ],
  1927. [
  1928. 'name' => '资产转赠',
  1929. 'list' => [
  1930. [
  1931. 'name' => "积分转赠",
  1932. 'link' => "/marketing/mutate/index",
  1933. 'open_type' => "navigate",
  1934. 'params' => [
  1935. [
  1936. 'key' => "type",
  1937. 'value' => "0"
  1938. ]
  1939. ]
  1940. ],
  1941. [
  1942. 'name' => "余额转赠",
  1943. 'link' => "/marketing/mutate/index",
  1944. 'open_type' => "navigate",
  1945. 'params' => [
  1946. [
  1947. 'key' => "type",
  1948. 'value' => "1"
  1949. ]
  1950. ]
  1951. ],
  1952. [
  1953. 'name' => "佣金转余额",
  1954. 'link' => "/marketing/mutate/index",
  1955. 'open_type' => "navigate",
  1956. 'params' => [
  1957. [
  1958. 'key' => "type",
  1959. 'value' => "2"
  1960. ]
  1961. ]
  1962. ],
  1963. ],
  1964. ],
  1965. [
  1966. 'name' => '联盟券',
  1967. 'list' => [
  1968. [
  1969. 'name' => '我的联盟券',
  1970. 'link' => '/user/new_balance/new_balance',
  1971. 'open_type' => "navigate",
  1972. 'params' => []
  1973. ]
  1974. ]
  1975. ],
  1976. [
  1977. 'name' => '支付券',
  1978. 'list' => [
  1979. [
  1980. 'name' => '支付宝支付券',
  1981. 'link' => '/mkt/list/index',
  1982. 'open_type' => "navigate",
  1983. 'params' => []
  1984. ],
  1985. ]
  1986. ],
  1987. [
  1988. 'name' => '问答专区',
  1989. 'list' => [
  1990. [
  1991. 'name' => "提问首页",
  1992. 'link' => "/chart-gpt/index/index",
  1993. 'open_type' => "navigate",
  1994. 'params' => [],
  1995. ],
  1996. [
  1997. 'name' => "提问模版",
  1998. 'link' => "/chart-gpt/moban/moban",
  1999. 'open_type' => "navigate",
  2000. 'params' => [],
  2001. ],
  2002. [
  2003. 'name' => "每日任务",
  2004. 'link' => "/chart-gpt/task/task",
  2005. 'open_type' => "navigate",
  2006. 'params' => [],
  2007. ],
  2008. [
  2009. 'name' => "我的问答",
  2010. 'link' => "/chart-gpt/qa-list/qa-list",
  2011. 'open_type' => "navigate",
  2012. 'params' => [],
  2013. ],
  2014. ],
  2015. ],
  2016. [
  2017. 'name' => '排队免单',
  2018. 'list' => [
  2019. [
  2020. 'name' => "免单列表",
  2021. 'link' => "/freeOrder/index/index",
  2022. 'open_type' => "navigate",
  2023. 'params' => [],
  2024. ],
  2025. [
  2026. 'name' => "累计明细",
  2027. 'link' => "/freeOrder/log/log",
  2028. 'open_type' => "navigate",
  2029. 'params' => [],
  2030. ],
  2031. ],
  2032. ],
  2033. [
  2034. 'name' => '营销活动',
  2035. 'list' => [
  2036. [
  2037. 'name' => "保单查询",
  2038. 'link' => "/other/insurance/search",
  2039. 'open_type' => "navigate",
  2040. 'params' => []
  2041. ],
  2042. [
  2043. 'name' => "小程序直播",
  2044. 'link' => "/wxlive/live/live",
  2045. 'open_type' => "navigate",
  2046. 'params' => []
  2047. ],
  2048. [
  2049. 'name' => '积分商城',
  2050. 'link' => '/integral/integralStore/index',
  2051. 'open_type' => 'navigate',
  2052. 'params' => [],
  2053. ],
  2054. [
  2055. 'name' => '当面付',
  2056. 'link' => '/face-pay/face-pay/payOut',
  2057. 'open_type' => "navigate",
  2058. 'params' => []
  2059. ],
  2060. [
  2061. 'name' => '签到',
  2062. 'link' => '/integral/signIn/signIn',
  2063. 'open_type' => "navigate",
  2064. 'params' => []
  2065. ],
  2066. [
  2067. 'name' => '微信会员卡',
  2068. 'link' => '/weChat/card/index',
  2069. 'open_type' => "weChatCart",
  2070. 'params' => []
  2071. ],
  2072. [
  2073. 'name' => '支付宝会员卡',
  2074. 'link' => '/alipay/card/index',
  2075. 'open_type' => "alipayCard",
  2076. 'params' => []
  2077. ],
  2078. [
  2079. 'name' => 'WIFI',
  2080. 'link' => '/pages/home/wifi',
  2081. 'open_type' => "navigate",
  2082. 'params' => []
  2083. ],
  2084. [
  2085. 'name' => '素材中心',
  2086. 'link' => '/tools/quickPost/index/index',
  2087. 'open_type' => "navigate",
  2088. 'params' => []
  2089. ],
  2090. ]
  2091. ],
  2092. [
  2093. 'name' => '上门服务',
  2094. 'list' => [
  2095. [
  2096. 'name' => '服务人员中心',
  2097. 'link' => '/service-home/index/index',
  2098. 'open_type' => 'navigate',
  2099. 'params' => [],
  2100. ],
  2101. [
  2102. 'name' => '服务人员收藏',
  2103. 'link' => '/marketing/serviceHome/collect/index',
  2104. 'open_type' => 'navigate',
  2105. 'params' => [],
  2106. ],
  2107. [
  2108. 'name' => '服务人员列表',
  2109. 'link' => '/marketing/serviceHome/engineer/list/index',
  2110. 'open_type' => 'navigate',
  2111. 'params' => [],
  2112. ],
  2113. [
  2114. 'name' => '服务商品列表',
  2115. 'link' => '/marketing/serviceHome/category/index/index',
  2116. 'open_type' => 'navigate',
  2117. 'params' => [],
  2118. ],
  2119. [
  2120. 'name' => '服务订单',
  2121. 'link' => '/marketing/serviceHome/order/list/index',
  2122. 'open_type' => 'navigate',
  2123. 'params' => [],
  2124. ],
  2125. ],
  2126. ],
  2127. [
  2128. 'name' => '视频号营销',
  2129. 'list' => [
  2130. [
  2131. 'name' => '视频号直播',
  2132. 'link' => 'videoShopLive',
  2133. 'open_type' => 'videoShopLive',
  2134. 'params' => [
  2135. [
  2136. 'key' => "finder_id",
  2137. 'value' => "",
  2138. 'desc' => "视频号 id,以“sph”开头的id,可在视频号助手获取"
  2139. ]
  2140. ],
  2141. ],
  2142. [
  2143. 'name' => '视频号主页',
  2144. 'link' => 'videoShop',
  2145. 'open_type' => 'videoShop',
  2146. 'params' => [
  2147. [
  2148. 'key' => "finder_id",
  2149. 'value' => "",
  2150. 'desc' => "视频号 id,以“sph”开头的id,可在视频号助手获取"
  2151. ]
  2152. ],
  2153. ],
  2154. [
  2155. 'name' => '视频号分销选品',
  2156. 'link' => '/videoNumber/center/index',
  2157. 'open_type' => 'navigate',
  2158. 'params' => [],
  2159. ],
  2160. ],
  2161. ],
  2162. [
  2163. 'name' => '商品表单',
  2164. 'list' => [
  2165. [
  2166. 'name' => '展示商品表单',
  2167. 'link' => '/showGoodsForm/form/index',
  2168. 'open_type' => 'goodsForm',
  2169. 'params' => [],
  2170. ],
  2171. [
  2172. 'name' => '进入抖音号',
  2173. 'link' => 'jump_douyin',
  2174. 'open_type' => 'jump_douyin',
  2175. 'params' => [],
  2176. ],
  2177. [
  2178. 'name' => '我的表单',
  2179. 'link' => '/showGoodsForm/list/index',
  2180. 'open_type' => 'navigate',
  2181. 'params' => [],
  2182. ],
  2183. ],
  2184. ],
  2185. [
  2186. 'name' => '配送中心',
  2187. 'list' => [
  2188. [
  2189. 'name' => '申请骑手',
  2190. 'link' => '/distribution/index/rider',
  2191. 'open_type' => 'localDeliveryIndex',
  2192. ],
  2193. [
  2194. 'name' => '配送中心',
  2195. 'link' => '/distribution/index/index',
  2196. 'open_type' => 'localDeliveryIndex',
  2197. ]
  2198. ],
  2199. ],
  2200. [
  2201. 'name' => '月付',
  2202. 'list' => [
  2203. [
  2204. 'name' => '我的月付',
  2205. 'link' => '/monthlyPaymentA/monthlyPaymentA/monthlyPaymentA',
  2206. 'open_type' => 'navigate',
  2207. ],
  2208. ],
  2209. ],
  2210. [
  2211. 'name' => '入驻商',
  2212. 'list' => [
  2213. [
  2214. 'name' => "入驻",
  2215. 'link' => '/admin/home/home?is_mch=1',
  2216. 'open_type' => 'navigate',
  2217. 'params' => [],
  2218. ],
  2219. [
  2220. 'name' => "附近店铺",
  2221. 'link' => "/mch_store/mchList/mchList",
  2222. 'open_type' => "navigate",
  2223. 'link_type' => 'mch_list',
  2224. 'params' => [
  2225. [
  2226. 'key' => "id",
  2227. 'value' => "",
  2228. 'desc' => "入驻商分类ID"
  2229. ],
  2230. ],
  2231. ],
  2232. [
  2233. 'name' => "商户列表",
  2234. 'link' => "/mch_store/nearbyShops/nearbyShops",
  2235. 'open_type' => "navigate",
  2236. 'link_type' => 'mch_list',
  2237. 'params' => [
  2238. [
  2239. 'key' => "id",
  2240. 'value' => "",
  2241. 'desc' => "入驻商分类ID"
  2242. ],
  2243. ]
  2244. ],
  2245. ],
  2246. ],
  2247. [
  2248. 'name' => '自建直播',
  2249. 'list' => [
  2250. [
  2251. 'name' => "主播中心",
  2252. 'link' => "/tools/live/create/list/index",
  2253. 'open_type' => "navigate",
  2254. 'params' => []
  2255. ],
  2256. [
  2257. 'name' => "直播间列表",
  2258. 'link' => "/tools/live/list/index",
  2259. 'open_type' => "navigate",
  2260. 'params' => []
  2261. ],
  2262. [
  2263. 'name' => "直播间页面",
  2264. 'link' => "/tools/live/player/index",
  2265. 'open_type' => "navigate",
  2266. 'params' => [
  2267. [
  2268. 'key' => "id",
  2269. 'value' => "",
  2270. 'desc' => "直播间ID"
  2271. ],
  2272. ]
  2273. ],
  2274. ],
  2275. ],
  2276. [
  2277. 'name' => '圈子',
  2278. 'list' => [
  2279. [
  2280. 'name' => "个人主页",
  2281. 'link' => "/marketing/quanzi/userInfo/index",
  2282. 'open_type' => "navigate",
  2283. 'params' => []
  2284. ],
  2285. [
  2286. 'name' => "帖子详情",
  2287. 'link' => "/marketing/quanzi/item/index",
  2288. 'link_type' => 'quanzi',
  2289. 'open_type' => "navigate",
  2290. 'params' => [
  2291. [
  2292. 'key' => "id",
  2293. 'value' => "",
  2294. 'desc' => "帖子ID"
  2295. ],
  2296. ]
  2297. ],
  2298. [
  2299. 'name' => "帖子列表",
  2300. 'link' => "/marketing/quanzi/search/index",
  2301. 'link_type' => 'quanzi',
  2302. 'open_type' => "navigate",
  2303. 'params' => [
  2304. // [
  2305. // 'key' => "id",
  2306. // 'value' => "",
  2307. // 'desc' => "帖子ID,多个逗号分割"
  2308. // ],
  2309. [
  2310. 'key' => "cat_id",
  2311. 'value' => "",
  2312. 'desc' => "分类ID",
  2313. ],
  2314. [
  2315. 'key' => "label",
  2316. 'value' => "",
  2317. 'desc' => "标签"
  2318. ],
  2319. // [
  2320. // 'key' => "user_id",
  2321. // 'value' => "",
  2322. // 'desc' => "作者用户id"
  2323. // ],
  2324. ]
  2325. ],
  2326. ],
  2327. ],
  2328. [
  2329. 'name' => '送礼物',
  2330. 'list' => [
  2331. [
  2332. 'name' => "我的礼物",
  2333. 'link' => "/givingGifts/myGift/myGift",
  2334. 'open_type' => "navigate",
  2335. 'params' => []
  2336. ],
  2337. [
  2338. 'name' => "送礼清单",
  2339. 'link' => "/givingGifts/giftCat/giftCat",
  2340. 'open_type' => "navigate",
  2341. 'params' => []
  2342. ],
  2343. ],
  2344. ],
  2345. [
  2346. 'name' => '视频号爆单',
  2347. 'list' => [
  2348. [
  2349. 'name' => "视频号爆单公排中心",
  2350. 'link' => "/marketing/publicRanking/index/index",
  2351. 'open_type' => "navigate",
  2352. 'params' => []
  2353. ],
  2354. ],
  2355. ],
  2356. [
  2357. 'name' => '商城公排',
  2358. 'list' => [
  2359. [
  2360. 'name' => "商城公排中心",
  2361. 'link' => "/tools/gongpai/index/index",
  2362. 'open_type' => "navigate",
  2363. 'params' => []
  2364. ],
  2365. ],
  2366. ],
  2367. [
  2368. 'name' => '大转盘抽奖',
  2369. 'list' => [
  2370. [
  2371. 'name' => "大转盘首页",
  2372. 'link' => "/prizeWheel/index/index",
  2373. 'open_type' => "navigate",
  2374. 'params' => []
  2375. ],
  2376. ],
  2377. ],
  2378. [
  2379. 'name' => '全域分佣',
  2380. 'list' => [
  2381. [
  2382. 'name' => '全域分佣',
  2383. 'link' => '/global/globalDivideBonus/globalDivideBonus',
  2384. 'open_type' => 'navigate',
  2385. ],
  2386. [
  2387. 'name' => '新增报单',
  2388. 'link' => '/global/addForm/addForm',
  2389. 'open_type' => 'navigate',
  2390. ],
  2391. [
  2392. 'name' => '奖金池',
  2393. 'link' => '/global/globalBonusPool/globalBonusPool',
  2394. 'open_type' => 'navigate',
  2395. 'link_type' => 'bonus_pool',
  2396. 'params' => [
  2397. [
  2398. 'key' => "id",
  2399. 'value' => "",
  2400. 'desc' => "奖金池ID"
  2401. ]
  2402. ],
  2403. ],
  2404. [
  2405. 'name' => '积分记录',
  2406. 'link' => '/global/IntegralLog/IntegralLog',
  2407. 'open_type' => 'navigate',
  2408. ],
  2409. [
  2410. 'name' => '报单列表',
  2411. 'link' => '/global/list/list',
  2412. 'open_type' => 'navigate',
  2413. ],
  2414. ],
  2415. ],
  2416. [
  2417. 'name' => '团队分红',
  2418. 'list' => [
  2419. [
  2420. 'name' => '团队中心',
  2421. 'link' => '/teamCenter/teamCenterIndex/teamCenterIndex',
  2422. 'open_type' => 'navigate',
  2423. ],
  2424. ],
  2425. ],
  2426. [
  2427. 'name' => '团队业绩分红',
  2428. 'list' => [
  2429. [
  2430. 'name' => "团队业绩分红中心",
  2431. 'link' => "/tools/teamGrades/index",
  2432. 'open_type' => "navigate",
  2433. 'params' => []
  2434. ],
  2435. ],
  2436. ],
  2437. [
  2438. 'name' => '手机收银台',
  2439. 'list' => [
  2440. [
  2441. 'name' => '收银台',
  2442. 'link' => '/cash_register/index/index',
  2443. 'open_type' => 'navigate',
  2444. 'params' => [],
  2445. ],
  2446. ],
  2447. ],
  2448. [
  2449. 'name' => '37拼购',
  2450. 'list' => [
  2451. [
  2452. 'name' => "37拼购",
  2453. 'link' => "/pinduoGou/index/index",
  2454. 'open_type' => "navigate",
  2455. 'params' => []
  2456. ],
  2457. ],
  2458. ],
  2459. [
  2460. 'name' => '超级卖货系统',
  2461. 'list' => [
  2462. [
  2463. 'name' => "超级卖货系统",
  2464. 'link' => "/salesCenter/index/index",
  2465. 'open_type' => "navigate",
  2466. 'params' => []
  2467. ],
  2468. ],
  2469. ],
  2470. [
  2471. 'name' => '增值积分',
  2472. 'list' => [
  2473. [
  2474. 'name' => "增值积分",
  2475. 'link' => "/costPointsAppreciation/index/index",
  2476. 'open_type' => "navigate",
  2477. 'params' => []
  2478. ],
  2479. ],
  2480. ],
  2481. [
  2482. 'name' => '批发审核',
  2483. 'list' => [
  2484. [
  2485. 'name' => "门店认证",
  2486. 'link' => "B2b",
  2487. 'open_type' => "B2b",
  2488. 'params' => []
  2489. ],
  2490. ],
  2491. ],
  2492. /* begin 2025/07/17 14:29:28 id1248 活动报名 WPing丶 */
  2493. [
  2494. 'name' => '活动报名',
  2495. 'list' => [
  2496. [
  2497. 'name' => '活动专区',
  2498. 'link' => "/eventPlanning/activityArea/activityArea",
  2499. 'open_type' => "navigate",
  2500. 'params' => []
  2501. ],
  2502. [
  2503. 'name' => '活动报名',
  2504. 'link' => "/eventPlanning/signUp/signUp",
  2505. 'open_type' => "navigate",
  2506. 'params' => [
  2507. [
  2508. 'key' => "id",
  2509. 'value' => "",
  2510. 'desc' => "id请填写在报名活动列表中相关活动的ID"
  2511. ],
  2512. ]
  2513. ],
  2514. [
  2515. 'name' => '签到码',
  2516. 'link' => "/eventPlanning/signInQRCode/signInQRCode",
  2517. 'open_type' => "navigate",
  2518. 'params' => [
  2519. [
  2520. 'key' => "id",
  2521. 'value' => "",
  2522. 'desc' => "id请填写在报名活动列表中相关活动的ID"
  2523. ],
  2524. ]
  2525. ],
  2526. [
  2527. 'name' => '活动信息',
  2528. 'link' => "/eventPlanning/detailInfo/detailInfo",
  2529. 'open_type' => "navigate",
  2530. 'params' => [
  2531. [
  2532. 'key' => "id",
  2533. 'value' => "",
  2534. 'desc' => "id请填写在报名活动列表中相关活动的ID"
  2535. ],
  2536. [
  2537. 'key' => "type",
  2538. 'value' => "",
  2539. 'desc' => "hotel=住宿;restaurant=用餐;itinerary=行程;"
  2540. ]
  2541. ]
  2542. ],
  2543. [
  2544. 'name' => '我的报名',
  2545. 'link' => "/eventPlanning/myRegistration/myRegistration",
  2546. 'open_type' => "navigate",
  2547. 'params' => []
  2548. ],
  2549. [
  2550. 'name' => '签到员中心',
  2551. 'link' => "/eventPlanning/verifyCode/verifyCode",
  2552. 'open_type' => "navigate",
  2553. 'params' => []
  2554. ],
  2555. ]
  2556. ]
  2557. /* end */
  2558. ],
  2559. ],
  2560. ],
  2561. ],
  2562. [
  2563. 'name' => '商品页面',
  2564. 'icon' => 'shopping',
  2565. 'child' => [
  2566. [
  2567. 'name' => '商品分类',
  2568. 'type' => 'goods-cat',
  2569. 'typeLink' => [
  2570. 'name' => '分类',
  2571. 'link' => '/pages/cat/cat',
  2572. 'open_type' => "switchtab",
  2573. 'params' => [
  2574. [
  2575. 'key' => "cat_id",
  2576. 'valueKey' => "id",
  2577. 'value' => "",
  2578. 'desc' => "cat_id请填写在商品分类中相关分类的ID",
  2579. ]
  2580. ]
  2581. ],
  2582. ],
  2583. [
  2584. 'name' => '商品详情',
  2585. 'type' => 'goods',
  2586. 'typeLink' => [
  2587. 'name' => "商品详情",
  2588. 'link' => "/goods/goods/goods",
  2589. 'open_type' => "navigate",
  2590. 'params' => [
  2591. [
  2592. 'key' => "id",
  2593. 'valueKey' => "id",
  2594. 'value' => "",
  2595. 'desc' => "id请填写在商品列表中相关商品的ID",
  2596. ]
  2597. ]
  2598. ],
  2599. ],
  2600. [
  2601. 'name' => '商品列表',
  2602. 'type' => 'goods-list',
  2603. 'typeLink' => [
  2604. 'name' => "商品列表",
  2605. 'link' => "/other/list/list",
  2606. 'open_type' => "navigate",
  2607. 'params' => [
  2608. [
  2609. 'key' => "cat_id",
  2610. 'valueKey' => "id",
  2611. 'value' => "",
  2612. 'desc' => "id请填写在商品列表中相关商品的ID",
  2613. ]
  2614. ]
  2615. ],
  2616. ],
  2617. [
  2618. 'name' => '秒杀商品',
  2619. 'type' => 'goods-seckill',
  2620. 'typeLink' => [
  2621. 'name' => "商品详情",
  2622. 'link' => "/goods/goods/goods",
  2623. 'open_type' => "navigate",
  2624. 'params' => [
  2625. [
  2626. 'key' => "id",
  2627. 'valueKey' => "id",
  2628. 'value' => "",
  2629. 'desc' => "id请填写在商品列表中相关商品的ID",
  2630. ],
  2631. [
  2632. 'key' => "is_seckill",
  2633. 'value' => "1",
  2634. ]
  2635. ]
  2636. ],
  2637. ],
  2638. [
  2639. 'name' => '砍价商品',
  2640. 'type' => 'goods-cut-price',
  2641. 'typeLink' => [
  2642. 'name' => "商品详情",
  2643. 'link' => "/goods/goods/goods",
  2644. 'open_type' => "navigate",
  2645. 'params' => [
  2646. [
  2647. 'key' => "id",
  2648. 'valueKey' => "id",
  2649. 'value' => "",
  2650. 'desc' => "id请填写在商品列表中相关商品的ID",
  2651. ],
  2652. [
  2653. 'key' => "activity_cut_price_id",
  2654. 'valueKey' => "activity_id",
  2655. 'value' => "",
  2656. 'desc' => "相关活动的ID"
  2657. ]
  2658. ]
  2659. ],
  2660. ],
  2661. [
  2662. 'name' => '拼团商品',
  2663. 'type' => 'goods-pt',
  2664. 'typeLink' => [
  2665. 'name' => "商品详情",
  2666. 'link' => "/goods/goods/goods",
  2667. 'open_type' => "navigate",
  2668. 'params' => [
  2669. [
  2670. 'key' => "id",
  2671. 'valueKey' => "id",
  2672. 'value' => "",
  2673. 'desc' => "id请填写在商品列表中相关商品的ID",
  2674. ],
  2675. [
  2676. 'key' => "is_pt",
  2677. 'value' => "1",
  2678. ]
  2679. ]
  2680. ],
  2681. ],
  2682. [
  2683. 'name' => '上门服务',
  2684. 'type' => 'goods-worker',
  2685. 'typeLink' => [
  2686. 'name' => "商品详情",
  2687. 'link' => "/marketing/serviceHome/goods/item/index",
  2688. 'open_type' => "navigate",
  2689. 'params' => [
  2690. [
  2691. 'key' => "id",
  2692. 'valueKey' => "id",
  2693. 'value' => "",
  2694. 'desc' => "id请填写在商品列表中相关商品的ID",
  2695. ]
  2696. ]
  2697. ],
  2698. ],
  2699. [
  2700. 'name' => '上门服务列表',
  2701. 'type' => 'goods-worker-list',
  2702. 'typeLink' => [
  2703. 'name' => "商品列表",
  2704. 'link' => "/marketing/serviceHome/category/index/index",
  2705. 'open_type' => "navigate",
  2706. 'params' => [
  2707. [
  2708. 'key' => "cat_id",
  2709. 'valueKey' => "id",
  2710. 'value' => "",
  2711. 'desc' => "id请填写在商品列表中相关商品的ID",
  2712. ]
  2713. ]
  2714. ],
  2715. ],
  2716. [
  2717. 'name' => '积分商品',
  2718. 'type' => 'goods-integral',
  2719. 'typeLink' => [
  2720. 'name' => "商品详情",
  2721. 'link' => "/integral/integralStore/goods",
  2722. 'open_type' => "navigate",
  2723. 'params' => [
  2724. [
  2725. 'key' => "id",
  2726. 'valueKey' => "id",
  2727. 'value' => "",
  2728. 'desc' => "id请填写在商品列表中相关商品的ID",
  2729. ]
  2730. ]
  2731. ],
  2732. ],
  2733. [
  2734. 'name' => '预约商品',
  2735. 'type' => 'reserve-goods',
  2736. 'typeLink' => [
  2737. 'name' => "商品详情",
  2738. 'link' => "/goods/goods/goods",
  2739. 'open_type' => "navigate",
  2740. 'params' => [
  2741. [
  2742. 'key' => "id",
  2743. 'valueKey' => "id",
  2744. 'value' => "",
  2745. 'desc' => "id请填写在商品列表中相关商品的ID",
  2746. ]
  2747. ]
  2748. ],
  2749. ],
  2750. [
  2751. 'name' => '品牌商品',
  2752. 'type' => 'goods-grand',
  2753. 'typeLink' => [
  2754. 'name' => "商品详情",
  2755. 'link' => "/other/list/list",
  2756. 'open_type' => "navigate",
  2757. 'params' => [
  2758. [
  2759. 'key' => "brand_id",
  2760. 'valueKey' => "brand_id",
  2761. 'value' => "",
  2762. 'desc' => "grand_id请填写在品牌列表中相关的ID",
  2763. ]
  2764. ]
  2765. ],
  2766. ]
  2767. ]
  2768. ],
  2769. [
  2770. 'name' => '文章页面',
  2771. 'icon' => 'file-text',
  2772. 'child' => [
  2773. [
  2774. 'name' => '文章',
  2775. 'type' => 'article',
  2776. 'typeLink' => [
  2777. 'name' => "文章详情",
  2778. 'link' => "/user/my/article-detail",
  2779. 'open_type' => "navigate",
  2780. 'params' => [
  2781. [
  2782. 'key' => "id",
  2783. 'valueKey' => "id",
  2784. 'value' => "",
  2785. 'desc' => "id请填写对应的文章ID"
  2786. ]
  2787. ]
  2788. ],
  2789. ],
  2790. [
  2791. 'name' => '专题详情',
  2792. 'type' => 'special',
  2793. 'typeLink' => [
  2794. 'name' => "专题详情",
  2795. 'link' => "/other/special/topic",
  2796. 'open_type' => "navigate",
  2797. 'params' => [
  2798. [
  2799. 'key' => "id",
  2800. 'valueKey' => "id",
  2801. 'value' => "",
  2802. 'desc' => "id请填写对应的专题ID"
  2803. ]
  2804. ]
  2805. ],
  2806. ],
  2807. [
  2808. 'name' => '专题分类',
  2809. 'type' => 'special-category',
  2810. 'typeLink' => [
  2811. 'name' => "专题分类",
  2812. 'link' => "/other/special/special",
  2813. 'open_type' => "navigate",
  2814. 'params' => [
  2815. [
  2816. 'key' => "id",
  2817. 'valueKey' => "id",
  2818. 'value' => "",
  2819. 'desc' => "id请填写对应的专题分类ID"
  2820. ]
  2821. ]
  2822. ],
  2823. ],
  2824. ],
  2825. ],
  2826. [
  2827. 'name' => '自定义',
  2828. 'icon' => 'appstore',
  2829. 'child' => [
  2830. [
  2831. 'name' => '自定义链接',
  2832. 'type' => 'diy-link',
  2833. ],
  2834. ],
  2835. ],
  2836. ];
  2837. }
  2838. }