...
|
...
|
@@ -17,12 +17,12 @@ type DividendsController struct { |
|
|
////Prepare 重写 BaseController 的Prepare方法
|
|
|
func (c *DividendsController) Prepare() {
|
|
|
c.BaseController.Prepare()
|
|
|
//if ok := c.ValidJWTToken(); !ok {
|
|
|
// return
|
|
|
//}
|
|
|
//if ok := c.ValidAdminPermission(domain.PERMINSSION_PARTNER); !ok {
|
|
|
// return
|
|
|
//}
|
|
|
if ok := c.ValidJWTToken(); !ok {
|
|
|
return
|
|
|
}
|
|
|
if ok := c.ValidAdminPermission(domain.PERMISSION_DIVIDEND); !ok {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//Edit 编辑分红支付
|
...
|
...
|
|