|
|
@@ -91,12 +91,13 @@ class ShopExtController extends BaseController
|
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
util::fail('超管才能修改');
|
|
|
}
|
|
|
-
|
|
|
$shopId = $this->shopId;
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
$get = Yii::$app->request->get();
|
|
|
$lbSn = $get['lbSn'] ?? '';
|
|
|
+ $lbVersion = $get['lbVersion'] ?? '';
|
|
|
$ext->lbSn = $lbSn;
|
|
|
+ $ext->lbVersion = $lbVersion;
|
|
|
$ext->save();
|
|
|
util::complete('设置成功');
|
|
|
}
|