瀏覽代碼

Merge branch 'dev_v1.1.62_wh' of BaseService/jyMicroservices into feature/v1.1.62

王浩 8 月之前
父節點
當前提交
116a87c47b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      jyBXSubscribe/rpc/model/service/subscribe.go

+ 3 - 0
jyBXSubscribe/rpc/model/service/subscribe.go

@@ -88,6 +88,9 @@ func (this *SubseribeService) Update() (int64, error) {
 	if this.Amount != "" {
 		setMap[KeyHandle(key, "amount")] = this.Amount
 	}
+	if this.UserType != "vType" {
+		this.ISwitch = 1
+	}
 	setMap[KeyHandle(key, "i_switch")] = this.ISwitch
 	if this.Items != nil {
 		if this.UserType == "fType" {