2023-12-05 09:21:11 +00:00
|
|
|
|
package global
|
|
|
|
|
|
2023-12-05 17:09:04 +00:00
|
|
|
|
// WHILTE 操作类型: 1 新增;2 修改;3 删除;4 授权;5 导出;6 导入;10 登陆;11 退出; 12 获取验证码;
|
2023-12-05 09:21:11 +00:00
|
|
|
|
var WHILTE = map[string]int{
|
|
|
|
|
"/supplier/create": 1, //供应商
|
|
|
|
|
"/supplier/update": 2,
|
|
|
|
|
"/supplier/delete": 3,
|
2023-12-05 17:09:04 +00:00
|
|
|
|
"/category/create": 1, //商品分类
|
|
|
|
|
"/category/update": 2,
|
|
|
|
|
"/category/delete": 3,
|
|
|
|
|
"/category/import_category": 6,
|
|
|
|
|
"/commodity/create": 1, //商品资料
|
|
|
|
|
"/commodity/edit": 2,
|
|
|
|
|
"/commodity/delete": 3,
|
|
|
|
|
"/commodity/import_commodity": 6,
|
|
|
|
|
"/cashier/create": 1, //收付款设置
|
|
|
|
|
"/cashier/edit": 2,
|
|
|
|
|
"/cashier/delete": 3,
|
|
|
|
|
"/inventory/delivery": 2, //库存管理
|
|
|
|
|
"/inventory/print": 2,
|
|
|
|
|
"/inventory/import": 6,
|
|
|
|
|
"/inventory/add_remark": 2,
|
|
|
|
|
"/login": 10, //登陆
|
|
|
|
|
"/logout": 11, //退出
|
|
|
|
|
"/getCaptcha": 12, //获取验证码
|
2023-12-05 09:21:11 +00:00
|
|
|
|
}
|