提交 1faaaf2c authored 作者: fengzy's avatar fengzy

费用报销test

上级 4256aa01
......@@ -20,8 +20,7 @@ class openfinfybxClassAction extends openapiAction
$dataarr = $this->db->getall($sql);
foreach ($dataarr as $key => $value) {
echo "<pre>";
var_dump($value);
$cloudUrl = "http://36.110.39.211/k3cloud/";
//登陆参数
$data = array(
......@@ -55,7 +54,8 @@ var_dump($value);
$post_content = self::create_postdata($data);
$result = self::invoke_save($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true);
echo "<pre>";
var_dump($array);
if(count($array)>1){
$key = ['FBillNo','FDOCUMENTSTATUS','FPAYTOTALAMOUNTFOR','FPOSTDATE' ];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论