shish 5 лет назад
Родитель
Сommit
8f05a2dffb
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/ghs/controllers/MerchantController.php

+ 3 - 3
app/ghs/controllers/MerchantController.php

@@ -25,11 +25,11 @@ class MerchantController extends BaseController
 	//商家信息 shish 2019.12.8
 	//商家信息 shish 2019.12.8
 	public function actionDetail()
 	public function actionDetail()
 	{
 	{
-		$merchant = $this->ghs;
+		$merchant = $this->merchant;
 		if (empty($merchant)) {
 		if (empty($merchant)) {
 			util::success([]);
 			util::success([]);
 		}
 		}
-		$merchant = MerchantService::getInfo($this->ghs, $this->merchantExtend);
+		$merchant = MerchantService::getInfo($this->merchant, $this->merchantExtend);
 		util::success($merchant);
 		util::success($merchant);
 	}
 	}
 
 
@@ -90,7 +90,7 @@ class MerchantController extends BaseController
 	//商家当前的权限id列表 shish 2020.1.23
 	//商家当前的权限id列表 shish 2020.1.23
 	public function actionAuth()
 	public function actionAuth()
 	{
 	{
-		$merchant = $this->ghs;
+		$merchant = $this->merchant;
 		$setId = $merchant['setId'];
 		$setId = $merchant['setId'];
 		$endId = 1;
 		$endId = 1;
 		$ids = SetAuthService::getAuthIdList($setId, $endId);
 		$ids = SetAuthService::getAuthIdList($setId, $endId);