|
@@ -639,7 +639,7 @@ function __construct(){
|
|
$header = curl_getinfo($ch);
|
|
$header = curl_getinfo($ch);
|
|
$b = json_decode($res,true);
|
|
$b = json_decode($res,true);
|
|
|
|
|
|
- $this->logic_ding->sendToDing("erp同步独立站的信息".json_encode($b,JSON_UNESCAPED_UNICODE));
|
|
|
|
|
|
+ $this->logic_ding->sendToDing("erp同步独立站的信息".$ydh."_".json_encode($b,JSON_UNESCAPED_UNICODE));
|
|
if(isset($b['fulfillment']['id']))
|
|
if(isset($b['fulfillment']['id']))
|
|
{
|
|
{
|
|
return array('res'=>1,'state'=>216,'cw'=>'');
|
|
return array('res'=>1,'state'=>216,'cw'=>'');
|
|
@@ -674,7 +674,7 @@ function __construct(){
|
|
$res = curl_exec($ch);
|
|
$res = curl_exec($ch);
|
|
curl_close($ch);
|
|
curl_close($ch);
|
|
$res = json_decode($res,true);
|
|
$res = json_decode($res,true);
|
|
- $this->logic_ding->sendToDing("erp同步独立站的信息1".json_encode($res,JSON_UNESCAPED_UNICODE));
|
|
|
|
|
|
+ $this->logic_ding->sendToDing("erp同步独立站的信息1".$ydh."_".json_encode($res,JSON_UNESCAPED_UNICODE));
|
|
if($res)
|
|
if($res)
|
|
{
|
|
{
|
|
if($res == 1)
|
|
if($res == 1)
|