Commit c986280b by 孙龙

up

parent 0875bfd3
Showing with 4 additions and 0 deletions
...@@ -15,6 +15,8 @@ type comUser struct { ...@@ -15,6 +15,8 @@ type comUser struct {
ComId int64 `json:"com_id"` ComId int64 `json:"com_id"`
UserId int64 `json:"user_id"` UserId int64 `json:"user_id"`
SaleId int64 `json:"sale_id"` SaleId int64 `json:"sale_id"`
IsDisable int64 `json:"is_disable"`
IsBlacklist int64 `json:"is_blacklist"`
} }
...@@ -34,6 +36,8 @@ func PushComUserInfoToErp(data string) (err error){ ...@@ -34,6 +36,8 @@ func PushComUserInfoToErp(data string) (err error){
urlParams.Add("com_id",strconv.FormatInt(pushData.ComId,10)) urlParams.Add("com_id",strconv.FormatInt(pushData.ComId,10))
urlParams.Add("user_id",strconv.FormatInt(pushData.UserId,10)) urlParams.Add("user_id",strconv.FormatInt(pushData.UserId,10))
urlParams.Add("sale_id",strconv.FormatInt(pushData.SaleId,10)) urlParams.Add("sale_id",strconv.FormatInt(pushData.SaleId,10))
urlParams.Add("is_disable",strconv.FormatInt(pushData.IsDisable,10))
urlParams.Add("is_blacklist",strconv.FormatInt(pushData.IsBlacklist,10))
//fmt.Println(urlParams) //fmt.Println(urlParams)
if(pushData.ComId == 0){ if(pushData.ComId == 0){
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment