Sfoglia il codice sorgente

修改过期字段

wangchuanjin 2 anni fa
parent
commit
89a98c01ab
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      service/service.go

+ 2 - 0
service/service.go

@@ -266,8 +266,10 @@ func delPower(id int64) {
 				entId := common.Int64All((*orderData)["ent_id"])
 				if productType == "VIP订阅" {
 					set["l_vip_endtime"] = time.Now().Unix()
+					set["i_vip_status"] = 0
 				} else if productType == "大会员" {
 					set["i_member_endtime"] = time.Now().Unix()
+					set["i_member_status"] = 0
 					JyMysql.Update(BigServiceUser, map[string]interface{}{"s_userid": posititonId}, map[string]interface{}{"i_status": -1})
 				}