feat : driver

This commit is contained in:
2024-11-13 14:25:07 +08:00
parent 4145e082b0
commit 1077cdfcd8
7 changed files with 166 additions and 58 deletions

View File

@@ -4,8 +4,14 @@ namespace App\Constants\Common;
class RoleCode
{
/**
* @var int 角色 1=超级管理员 2=管理员 3=财务 5=客服 6=市场部 7=厨师 8=司机
*/
const int SUPER_ADMIN = 1;
const int ADMIN = 2;
const int CHEF = 3;
const int DRIVER = 4;
const int FINANCE = 3;
const int CUSTOMER_SERVICE = 5;
const int MARKETPLACE = 6;
const int CHEF = 7;
const int DRIVER = 8;
}