|
@@ -267,6 +267,9 @@ func DotongbuShangHaApi(condition string) (err error) {
|
|
|
//url = "https://crm.hzinsights.com/openapi/v1/Customer/batchSyncFiccCustomer?access_token=" + accessToken
|
|
|
url = utils.ShangHaiCrmApiLink + "openapi/v1/Customer/batchSyncFiccCustomer?access_token=" + accessToken
|
|
|
for k, _ := range companyList {
|
|
|
+ if companyList[k].Status == "永续" {
|
|
|
+ companyList[k].Status = "试用"
|
|
|
+ }
|
|
|
companyList[k].Fe = "权益"
|
|
|
companyList[k].EndDate = strconv.Itoa(int(companyList[k].EndDateTime.Unix()))
|
|
|
//一次同步一百条
|