|
@@ -18,7 +18,6 @@ type BuyerUnit struct {
|
|
|
Price string `json:"price"` //购买大会员价格
|
|
|
Id string `json:"id"` //日志id
|
|
|
OrderCode string `json:"orderCode"` //订单号
|
|
|
- PageType string `json:"pageType"` //采购单位画像:B;企业画像:E
|
|
|
}
|
|
|
|
|
|
func SaveBuyerUnitInfo(BUT BuyerUnit) (string, bool) {
|
|
@@ -30,13 +29,10 @@ func SaveBuyerUnitInfo(BUT BuyerUnit) (string, bool) {
|
|
|
"isOBT": 0, //是否下单-3
|
|
|
"price": BUT.Price, //实际支付价格-3
|
|
|
"isCBBT": 0, //点击去购买按钮-2
|
|
|
- "isICRP": 0, //访问留资页面-2
|
|
|
- "isICRW": 0, //提交留资信息-2
|
|
|
"introduce": BUT.Introduce, //功能按钮文案-2
|
|
|
"userType": BUT.UserType, //用户类型0:普通;1:超级订阅;2:大会员;3:商机管理;(可以存在1,2)-1
|
|
|
"platform": BUT.Platform, //平台P:PC;W:微信;AA:APPAndroid;AI:APPIOS-1
|
|
|
"orderCode": "", //订单号 3
|
|
|
- "pageType": BUT.PageType, //采购单位画像:B;企业画像:E
|
|
|
}
|
|
|
if id := db.Mgo_Log.Save(BidType.Butlogcoll, butInfo); id != "" {
|
|
|
return util.SE2.EncodeString(id), true
|