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