提交 78184ca5 authored 作者: fengzy's avatar fengzy

费用报销脚本

上级 906e13f9
......@@ -194,6 +194,7 @@ class flow_emfkClassModel extends flowModel
$model['Model']['FSETTLEORGID']['FNumber']=self::getorg($this->rs['org']);
$model['Model']['FPAYORGID']['FNumber']=self::getorg($this->rs['org']);
$data_model=json_encode($model);
var_dump($data_model);
$data = array(
'AP_PAYBILL',//业务对象标识FormId
$data_model//具体Json字串
......@@ -202,7 +203,7 @@ class flow_emfkClassModel extends flowModel
$post_content = self::create_postdata($data);
$result = self::invoke_add($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true);
var_dump($array);
$num=$array['Result']['Number'];
if($array['Result']['ResponseStatus']['IsSuccess']){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论