|
@@ -225,9 +225,7 @@ class Model_logic_u9xgsd extends Lin_Model {
|
|
$info['dc_data'] = json_encode($r['data']['data']);
|
|
$info['dc_data'] = json_encode($r['data']['data']);
|
|
}
|
|
}
|
|
$dc_params = $this->createDataTwo($info);
|
|
$dc_params = $this->createDataTwo($info);
|
|
- echo "<pre>";
|
|
|
|
- var_dump($dc_params);
|
|
|
|
- die;
|
|
|
|
|
|
+
|
|
//创建香港公司的采购单
|
|
//创建香港公司的采购单
|
|
$cgd_res = $this->apiyyv1->cgdCreate($dc_params,$this->getToken(140));
|
|
$cgd_res = $this->apiyyv1->cgdCreate($dc_params,$this->getToken(140));
|
|
if(empty($cgd_res[0]['Data'][0]["Code"])){
|
|
if(empty($cgd_res[0]['Data'][0]["Code"])){
|