Browse Source

公众号

shish 6 years ago
parent
commit
a54c4ef6f1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      biz/merchant/services/MerchantService.php

+ 3 - 3
biz/merchant/services/MerchantService.php

@@ -19,9 +19,9 @@ use Yii;
 
 
 class MerchantService extends BaseService
 class MerchantService extends BaseService
 {
 {
-	
+
 	public static $baseFile = '\biz\merchant\classes\MerchantClass';
 	public static $baseFile = '\biz\merchant\classes\MerchantClass';
-	
+
 	//商家在业务端的权限 shish 2019.11.25
 	//商家在业务端的权限 shish 2019.11.25
 	public static function getAuthIdList($merchantId, $endId)
 	public static function getAuthIdList($merchantId, $endId)
 	{
 	{
@@ -177,7 +177,7 @@ class MerchantService extends BaseService
 
 
 			//创建管理员角色
 			//创建管理员角色
 			AdminRoleClass::addAdminRole(['roleName' => '店员', 'merchantId' => $merchantId, 'auth' => '*']);
 			AdminRoleClass::addAdminRole(['roleName' => '店员', 'merchantId' => $merchantId, 'auth' => '*']);
-			$roleReturn = AdminRoleClass::addAdminRole(['roleName' => '店长', 'merchantId' => $merchantId, 'auth' => '*']);
+			$roleReturn = AdminRoleClass::addAdminRole(['roleName' => '老板', 'merchantId' => $merchantId, 'auth' => '*']);
 			$roleId = $roleReturn['id'];
 			$roleId = $roleReturn['id'];
 
 
 			//创建管理员
 			//创建管理员