Browse Source

agent apply id

abiao 4 years ago
parent
commit
298ff35b04

+ 1 - 11
go/gopath/src/fohow.com/apps/controllers/user_controller/agent_apply_controller.go

@@ -193,17 +193,7 @@ func (self *UserController) GetAgentDetailByWxUid() {
 	}
 	//wxUId := int64(1781)
 	item := user_model.GetAgentApplyByWxUId(id)
-	/*if item == nil {
-		//self.ReturnError(403, apps.NoExist, "", nil)
-	}
-	if item.WxUId != id {
-		//self.ReturnError(403, apps.NoExist, "", nil)
-	}*/
-	itemUser := user_model.GetWxUserById(item.WxUId, false)
-	if itemUser != nil && item != nil {
-		item.SaleGroup = itemUser.SaleGroup
-		item.SaleGroupSum = itemUser.SaleGroupSum
-	}
+
 	self.Data["json"] = item
 	self.ServeJSON()
 }