瀏覽代碼

feat:字段类型调整

zhangxinlei1996 2 年之前
父節點
當前提交
c16689394f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      jyBXSubscribe/rpc/model/service/subscribe.go

+ 2 - 1
jyBXSubscribe/rpc/model/service/subscribe.go

@@ -96,7 +96,8 @@ func (this *SubseribeService) Update() (int64, error) {
 		setMap["o_vipjy.s_email"] = this.Mail
 	}
 	if this.Otherbuyerclass != "" {
-		setMap["o_vipjy.i_matchbuyerclass_other"] = this.Otherbuyerclass
+		i_otherbuyerclass, _ := strconv.Atoi(this.Otherbuyerclass)
+		setMap["o_vipjy.i_matchbuyerclass_other"] = i_otherbuyerclass
 
 	}
 	log.Println(setMap)