提交 e761d4ad authored 作者: fengzy's avatar fengzy

费用报销脚本

上级 cf17899a
...@@ -509,7 +509,6 @@ class flow_finfybxClassModel extends flowModel ...@@ -509,7 +509,6 @@ class flow_finfybxClassModel extends flowModel
$model['Model']['FPAYAPPLYENTRY']=$arr['FPAYAPPLYENTRY']; $model['Model']['FPAYAPPLYENTRY']=$arr['FPAYAPPLYENTRY'];
$data_model=json_encode($model); $data_model=json_encode($model);
var_dump($data_model);
$data = array( $data = array(
'CN_PAYAPPLY',//业务对象标识FormId 'CN_PAYAPPLY',//业务对象标识FormId
$data_model//具体Json字串 $data_model//具体Json字串
...@@ -518,7 +517,6 @@ class flow_finfybxClassModel extends flowModel ...@@ -518,7 +517,6 @@ class flow_finfybxClassModel extends flowModel
$post_content = self::create_postdata($data); $post_content = self::create_postdata($data);
$result = self::invoke_add($cloudUrl,$post_content,$cookie_jar); $result = self::invoke_add($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true); $array = json_decode($result,true);
var_dump($result);
$num=$array['Result']['Number']; $num=$array['Result']['Number'];
if($array['Result']['ResponseStatus']['IsSuccess']){ if($array['Result']['ResponseStatus']['IsSuccess']){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论