|
@@ -134,8 +134,7 @@ func (this *Rbac) SaveMG() {
|
|
|
}
|
|
|
MGStr := this.GetString("MGStr") //目录id
|
|
|
if MGStr == "" {
|
|
|
- // return &FuncResult{false, errors.New("目录id不能为空"), nil}
|
|
|
- log.Println("目录id为空")
|
|
|
+ return &FuncResult{false, errors.New("目录id不能为空"), nil}
|
|
|
}
|
|
|
i_type, _ := this.GetInteger("i_type")
|
|
|
//
|