提交 80784cf3 authored 作者: fengzy's avatar fengzy

'调整emfk'

上级 b9d2aaa5
...@@ -185,7 +185,7 @@ class openemfkClassAction extends openapiAction ...@@ -185,7 +185,7 @@ class openemfkClassAction extends openapiAction
$sql = 'select id,fbillno,status from [Q]c_emfk where status=0 and fbillno is NOT null'; $sql = 'select id,fbillno,status from [Q]c_emfk where status=0 and fbillno is NOT null';
$dataarr = $this->db->getall($sql); $dataarr = $this->db->getall($sql);
return $this->showreturn([], $dataarr, '201');
foreach ($dataarr as $key => $value) { foreach ($dataarr as $key => $value) {
$cloudUrl = "http://36.110.39.211/k3cloud/"; $cloudUrl = "http://36.110.39.211/k3cloud/";
...@@ -221,7 +221,7 @@ class openemfkClassAction extends openapiAction ...@@ -221,7 +221,7 @@ class openemfkClassAction extends openapiAction
$result = self::invoke_save($cloudUrl,$post_content,$cookie_jar); $result = self::invoke_save($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true); $array = json_decode($result,true);
return $this->showreturn([], $array, '201');
if(count($array)>1){ if(count($array)>1){
$key = ['FBillNo','FDOCUMENTSTATUS','FPAYTOTALAMOUNTFOR','FPOSTDATE' ]; $key = ['FBillNo','FDOCUMENTSTATUS','FPAYTOTALAMOUNTFOR','FPOSTDATE' ];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论