|
|
@@ -227,6 +227,8 @@ class ShopAdminController extends BaseController
|
|
|
$status = $post['status'] ?? 1;
|
|
|
$super = $post['super'] ?? 0;
|
|
|
$name = $post['name'] ?? '';
|
|
|
+ $finance = $post['finance'] ?? 0;
|
|
|
+ $switchShop = $post['switchShop'] ?? 0;
|
|
|
$founder = $relation->founder ?? 1;
|
|
|
if ($founder == 2 && $super == 0) {
|
|
|
util::fail('不能关闭超管权限');
|
|
|
@@ -238,6 +240,8 @@ class ShopAdminController extends BaseController
|
|
|
$relation->remind = $remind;
|
|
|
$relation->status = $status;
|
|
|
$relation->super = $super;
|
|
|
+ $relation->finance = $finance;
|
|
|
+ $relation->switchShop = $switchShop;
|
|
|
$relation->save();
|
|
|
util::complete('修改成功');
|
|
|
}
|