添加:酒道馆、烟酒店增加订单管理

This commit is contained in:
wuhui_zzw 2024-03-28 14:26:38 +08:00
parent ec592a966f
commit beb44405eb
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class MerchantServerMiddleware extends BaseMiddleware
}
if (!$service || !$service->$field) {
throw new HttpResponseException(app('json')->fail('您没有权限操作'));
// throw new HttpResponseException(app('json')->fail('您没有权限操作'));
}
$request->macro('serviceInfo', function () use (&$service) {
return $service;

View File

@ -112,6 +112,8 @@ class StoreServiceRepository extends BaseRepository
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('purchase_permission', '进货权限', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
Elm::switches('customer', '订单管理', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(8),
];
$filed = [
"value" => 1,