Browse Source

feat:新版商机管理

xuzhiheng 3 years ago
parent
commit
74bd67b21a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/jfw/modules/subscribepay/src/entity/entniche.go

+ 2 - 0
src/jfw/modules/subscribepay/src/entity/entniche.go

@@ -59,6 +59,8 @@ func (e *entnicheStruct) PayCallBack(param *CallBackParam) bool {
 							"quota":         qutil.IntAll(filter["personnum"]),
 							"startdate":     now.Unix(),
 							"enddate":       enddate.Unix(),
+							"isNew":         1,
+							"model":         1,
 						})
 						ok_2 := util.Mysql.UpdateOrDeleteBySqlByTx(tx, `update entniche_user set power=1 where phone=? and ent_id=?`, phone, ent_id)
 						return ok_1 && ok_2 > -1