增加限制条件
This commit is contained in:
@@ -39,6 +39,7 @@ var Wechath5 = Ctr{
|
||||
|
||||
userId := 0
|
||||
defer func() {
|
||||
|
||||
//有sn就关联业务员
|
||||
parentId := ObjToInt(that.Req.FormValue("parent_id"))
|
||||
if parentId == 0 {
|
||||
@@ -83,6 +84,7 @@ var Wechath5 = Ctr{
|
||||
if user == nil {
|
||||
return
|
||||
}
|
||||
|
||||
//用户都有企服人员关联
|
||||
if user.GetCeilInt("salesman_id") != 0 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user