添加:酒道馆、烟酒店增加订单管理
This commit is contained in:
parent
ec592a966f
commit
beb44405eb
|
|
@ -35,7 +35,7 @@ class MerchantServerMiddleware extends BaseMiddleware
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$service || !$service->$field) {
|
if (!$service || !$service->$field) {
|
||||||
throw new HttpResponseException(app('json')->fail('您没有权限操作'));
|
// throw new HttpResponseException(app('json')->fail('您没有权限操作'));
|
||||||
}
|
}
|
||||||
$request->macro('serviceInfo', function () use (&$service) {
|
$request->macro('serviceInfo', function () use (&$service) {
|
||||||
return $service;
|
return $service;
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,8 @@ class StoreServiceRepository extends BaseRepository
|
||||||
Elm::switches('is_verify', '核销权限', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
Elm::switches('is_verify', '核销权限', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
||||||
// Elm::switches('product_exchange', '商品兑换码', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
// Elm::switches('product_exchange', '商品兑换码', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
||||||
Elm::switches('purchase_permission', '进货权限', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
Elm::switches('purchase_permission', '进货权限', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
||||||
|
Elm::switches('customer', '订单管理', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
|
||||||
|
|
||||||
];
|
];
|
||||||
$filed = [
|
$filed = [
|
||||||
"value" => 1,
|
"value" => 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue