[更新]修改微信商城菜单配置

This commit is contained in:
Anyon 2018-05-05 18:57:38 +08:00
parent 844fe75187
commit cf2d53b4af

View File

@ -26,8 +26,8 @@ Route::rule('wx', function (Request $request) {
});
// 微信菜单链接配置
$GLOBALS['WechatMenuLink'][] = ['link' => 'wx', 'title' => '微信商城首页'];
$GLOBALS['WechatMenuLink'][] = ['link' => 'wx-demo-jsapi', 'title' => 'JSAPI支付测试'];
$GLOBALS['WechatMenuLink'][] = ['link' => '@wx', 'title' => '微信商城首页'];
$GLOBALS['WechatMenuLink'][] = ['link' => '@wx-demo-jsapi', 'title' => 'JSAPI支付测试'];
// @todo 模块处理机制将写在下面(包括模块初始化及升级)
// @todo 模块权限处理,使用全局数组