|
@@ -87,7 +87,7 @@ class Model_apiyy extends Lin_Model
|
|
|
$list["0"]["ShippmentRule"]["Code"] = '01';
|
|
|
$list = json_encode($list);
|
|
|
$token = $this->setting->get_yytoken_130();
|
|
|
- $url = 'http://139.129.33.38/U9C/webapi/Customer/Create';
|
|
|
+ $url = 'http://172.31.105.167/U9C/webapi/Customer/Create';
|
|
|
$header[] = "Content-Type: application/json";
|
|
|
$header[] = "Token: ".$token;
|
|
|
$ch = curl_init();
|
|
@@ -110,7 +110,7 @@ class Model_apiyy extends Lin_Model
|
|
|
$list["0"]["Code1"] = '';
|
|
|
$list["0"]["Name"] = $data['zh'];//产品名称
|
|
|
$list["0"]["MainItemCategory"]["Code"] = $data['bm'];
|
|
|
- $list["0"]["Org"]["Code"] = 9966;
|
|
|
+ $list["0"]["Org"]["Code"] = 001;
|
|
|
$list["0"]["OtherID"] = 1;
|
|
|
$list["0"]["PurchaseInfo"]["BudgetControlType"] = -1;
|
|
|
$list["0"]["PurchaseInfo"]["PriceSource"] = 2;
|