()
| 152 | } |
| 153 | |
| 154 | func UserAuth() func(c *gin.Context) { |
| 155 | return func(c *gin.Context) { |
| 156 | authHelper(c, common.RoleCommonUser) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | func AdminAuth() func(c *gin.Context) { |
| 161 | return func(c *gin.Context) { |
no test coverage detected