|
@@ -234,6 +234,14 @@ func (this *YanxuanSpecialController) Detail() {
|
|
|
resp.HasPermission = 2
|
|
|
}
|
|
|
|
|
|
+ //判断是否属于审核人员
|
|
|
+ mobileSlice := strings.Split(cnf.ConfigValue, ",")
|
|
|
+ for _, v := range mobileSlice {
|
|
|
+ if v == sysUser.Mobile {
|
|
|
+ resp.IsApprovalAdmin = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
br.Data = resp
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|