Browse Source

订阅是否开启处理

WH01243 8 months ago
parent
commit
a2d55a167a
1 changed files with 3 additions and 0 deletions
  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" {