Browse Source

订阅是否开启处理

WH01243 8 tháng trước cách đây
mục cha
commit
a2d55a167a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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" {