实现上传奖励图片接口

This commit is contained in:
2025-06-25 14:06:28 +08:00
parent f862be6d9e
commit aa05d6691a
4 changed files with 27 additions and 0 deletions

View File

@ -105,6 +105,7 @@ func init() {
enforcer.AddPolicy("store", "/x/reward/*", "DELETE", "删除奖励")
enforcer.AddPolicy("store", "/x/reward/taskReward", "POST", "添加/删除门店任务奖励")
enforcer.AddPolicy("store", "/x/upload/reward", "POST", "上传奖励图片")
// 门店角色
enforcer.AddPolicy("store", "/x/store/role", "GET", "获取门店角色列表")