Commit 0239fb08 by 王召彬

添加分销代理者角色

parent dc4136c4
......@@ -11,7 +11,8 @@ class AuthEnum
{
const SCOPE_BUYER = 1; //买家
const SCOPE_EMPLOYEE = 2; //手艺人
const SCOPE_EMPLOYEE = 2; //手艺人
const SCOPE_AGENT = 2; // 店铺分销代理者
const SCOPE_SELLER = 3; //卖家
......@@ -19,11 +20,14 @@ class AuthEnum
const SCOPE_SUPER_ADMIN = 5; //超级管理员
const AUTH_BACKEND = 100;
const AUTH_FRONTEND = 101;
const AUTH_TYPE_SELLER = 200; //卖家授权
const AUTH_TYPE_EMPLOYEE = 201; //员工授权
const AUTH_TYPE_AGENT = 201; //店铺分销代理者授权
const AUTH_TYPE_E_AND_S = 203; //选择授权(用户自己选择进行员工授权还是卖家授权)
const AUTH_TYPE_BUYER = 204; //买家授权
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment