Selaa lähdekoodia

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

王浩 8 kuukautta sitten
vanhempi
commit
116a87c47b
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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" {