[ // 菜单配置 'menu' => [ 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单 'icon' => 'fa fa-puzzle-piece', ], // 子模块配置 'modules' => [ ], ], // ----------------------- 快捷入口 ----------------------- // 'cover' => [ ], // ----------------------- 菜单配置 ----------------------- // 'menu' => [ [ 'title' => '基础设置', 'route' => 'default/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '中台配置', 'route' => 'supplys/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '导入分类', 'route' => 'category/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '精选好货', 'route' => 'goods/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '选品库', 'route' => 'storage/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '订单列表', 'route' => 'order/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '售后管理', 'route' => 'refund/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '通知日志', 'route' => 'notice/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], ], // ----------------------- 权限配置 ----------------------- // 'authItem' => [ [ 'title' => '优选供应链', 'name' => '', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '基础设置', 'name' => 'default/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '保存设置', 'name' => 'default/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], [ 'title' => '中台配置', 'name' => 'default/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '编辑中台', 'name' => 'supplys/edit', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], [ 'title' => '导入分类', 'name' => 'default/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '导入', 'name' => 'category/import', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], [ 'title' => '精选好货', 'name' => 'goods/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '添加选品库', 'name' => 'goods/add-storage', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], [ 'title' => '选品库', 'name' => 'storage/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [ [ 'title' => '导入商品', 'name' => 'storage/import', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], [ 'title' => '移除选品库', 'name' => 'storage/remove', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], [ 'title' => '移除选品库', 'name' => 'goods/store-reload', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], [ 'title' => '订单列表', 'name' => 'order/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], [ 'title' => '通知列表', 'name' => 'notice/index', 'app_id' => 'backend', 'is_addon' => 1, 'addons_name' => 'QiJuhe', 'child' => [], ], ], ], ], // ----------------------- APP链接 ----------------------- // 'links' => [ //[ //'title' => '', //'route' => '', //'icon' => '', //'params' => [], //], ], // ----------------------- 事件处理 ----------------------- // 'events' => [ [ 'event_name' => EventNameEnum::ORDER_PAY, 'listeners' => [ 'addons\QiJuhe\common\listeners\OrderPaidListener', ], ], [ 'event_name' => EventNameEnum::ORDER_TAKE_DELIVERY, 'listeners' => [ 'addons\QiJuhe\common\listeners\OrderTakeDeliveredListener', ], ], // 维权订单取消 [ 'event_name' => EventNameEnum::ORDER_REFUND_CANCEL, 'listeners' => [ 'addons\QiJuhe\common\listeners\OrderRefundCancelListener', ], ], [ 'event_name' => EventNameEnum::ORDER_REFUND_FINISH, 'listeners' => [ 'addons\QiJuhe\common\listeners\OrderRefundFinishListener', ], ], [ 'event_name' => EventNameEnum::ORDER_REFUND_BUYER_DELIVERY, 'listeners' => [ 'addons\QiJuhe\common\listeners\OrderRefundBuyerDeliveryListener', ], ], [ 'event_name' => EventNameEnum::GOODS_EDIT, 'listeners' => [ 'addons\QiJuhe\common\listeners\GoodsEditListener', ], ] ], 'invoker' => [ [ 'invoker_id' => \common\enums\GlobalFuncEnum::CART_LIST_APPEND_FILEDS, 'class' => \addons\QiJuhe\common\service\ShoppingCartService::class, 'method' => 'cartListAppendFields' ], [ 'invoker_id' => \common\enums\GlobalFuncEnum::API_GOODS_DETAIL, 'class'=>\addons\QiJuhe\common\service\ShoppingCartService::class, 'method'=>'globalGoodsDetail' ], ] ];