|
|
@@ -31,7 +31,9 @@ class MerchantController extends BaseController
|
|
|
public function actionMemberLevel()
|
|
|
{
|
|
|
$list = MerchantExtendService::getGradeList($this->merchantExtend, false, false);
|
|
|
- util::success($list);
|
|
|
+ $extend = $this->merchantExtend;
|
|
|
+ $gradeSwitch = isset($extend['gradeSwitch']) ? $extend['gradeSwitch'] : 1;
|
|
|
+ util::success(['list' => $list, 'gradeSwitch' => $gradeSwitch]);
|
|
|
}
|
|
|
|
|
|
//会员等级更新 shish 2019.12.18
|
|
|
@@ -56,12 +58,12 @@ class MerchantController extends BaseController
|
|
|
MerchantExtendService::updateByCondition(['merchantId' => $this->merchantId], ['gradeList' => $string]);
|
|
|
util::ok('提交成功');
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//常用链接
|
|
|
public function actionCommonUrl()
|
|
|
{
|
|
|
$list = MerchantService::getCommonUrl();
|
|
|
util::success($list);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|