lvhao 18 hours ago
parent
commit
1483b5a411
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/CoreApp/models/Model_apiyy.php

+ 2 - 2
core/CoreApp/models/Model_apiyy.php

@@ -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;