|
@@ -275,15 +275,15 @@ func (this *UserInfoReq) EntnicheSub() *map[string]interface{} {
|
|
"i_deptid": deptId,
|
|
"i_deptid": deptId,
|
|
"i_entid": this.EntId,
|
|
"i_entid": this.EntId,
|
|
})
|
|
})
|
|
- log.Println(res_, "+++")
|
|
|
|
|
|
+ log.Println(res_, "+++", res)
|
|
if ok && res != nil && len(res_) > 0 {
|
|
if ok && res != nil && len(res_) > 0 {
|
|
oenitche, ok := (*res)["o_entniche"].(map[string]interface{})
|
|
oenitche, ok := (*res)["o_entniche"].(map[string]interface{})
|
|
if ok && oenitche != nil {
|
|
if ok && oenitche != nil {
|
|
oenitche["a_buyerclass"] = res_["a_buyerclass"]
|
|
oenitche["a_buyerclass"] = res_["a_buyerclass"]
|
|
oenitche["a_items"] = res_["a_items"]
|
|
oenitche["a_items"] = res_["a_items"]
|
|
oenitche["o_area"] = res_["o_area"]
|
|
oenitche["o_area"] = res_["o_area"]
|
|
|
|
+ (*res)["o_entniche"] = oenitche
|
|
}
|
|
}
|
|
- (*res)["o_entniche"] = oenitche
|
|
|
|
}
|
|
}
|
|
case 2:
|
|
case 2:
|
|
res, _ = this.Mgo.FindOne("entniche_rule", map[string]interface{}{
|
|
res, _ = this.Mgo.FindOne("entniche_rule", map[string]interface{}{
|