|
|
@@ -2,9 +2,7 @@
|
|
|
|
|
|
namespace client\controllers;
|
|
|
|
|
|
-use biz\goods\services\CategoryService;
|
|
|
-use biz\goods\services\GoodsCategoryService;
|
|
|
-use biz\merchant\services\MerchantService;
|
|
|
+use biz\merchant\services\MerchantExtendService;
|
|
|
use biz\merchant\services\ShopService;
|
|
|
use Yii;
|
|
|
use yii\web\Controller;
|
|
|
@@ -12,7 +10,7 @@ use common\components\util;
|
|
|
|
|
|
class MerchantController extends BaseController
|
|
|
{
|
|
|
-
|
|
|
+
|
|
|
//当前用户获取门店信息
|
|
|
public function actionGetShopInfo()
|
|
|
{
|
|
|
@@ -27,5 +25,12 @@ class MerchantController extends BaseController
|
|
|
$merchant = $this->merchant;
|
|
|
util::success($merchant);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ //客户的会员等级 shish 2020.1.2
|
|
|
+ public function actionUserGrade()
|
|
|
+ {
|
|
|
+ $list = MerchantExtendService::getGradeList($this->merchantExtend, 'asc', false);
|
|
|
+ util::success($list);
|
|
|
+ }
|
|
|
+
|
|
|
}
|