Commit f48c23cc by 孙龙

up

parent 2a7f98b0
Showing with 4 additions and 1 deletions
......@@ -35,7 +35,10 @@ func PushComUserInfoToErp(data string) (err error){
urlParams.Add("com_id",strconv.FormatInt(pushData.ComId,10))
urlParams.Add("user_id",strconv.FormatInt(pushData.UserId,10))
urlParams.Add("sale_id",strconv.FormatInt(pushData.SaleId,10))
fmt.Println(urlParams)
//fmt.Println(urlParams)
if(pushData.ComId == 0){
return
}
header := http.Header{}
header.Set("api-key",cfg.Instance("config").GetString("apiKey"))
header.Set("Content-Type","application/json")
......
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