提交 8fad78d8 authored 作者: fengzy's avatar fengzy

费用报销脚本

上级 3f0662d8
...@@ -152,6 +152,7 @@ protected function flowcheckafter($zt, $sm){ ...@@ -152,6 +152,7 @@ protected function flowcheckafter($zt, $sm){
$model['Model']['FPAYBILLENTRY']=$arr['FPAYBILLENTRY']; $model['Model']['FPAYBILLENTRY']=$arr['FPAYBILLENTRY'];
$data_model=json_encode($model); $data_model=json_encode($model);
var_dump($data_model);
$data = array( $data = array(
'AP_PAYBILL',//业务对象标识FormId 'AP_PAYBILL',//业务对象标识FormId
$data_model//具体Json字串 $data_model//具体Json字串
...@@ -160,7 +161,6 @@ protected function flowcheckafter($zt, $sm){ ...@@ -160,7 +161,6 @@ protected function flowcheckafter($zt, $sm){
$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);
$num=$array['Result']['Number']; $num=$array['Result']['Number'];
if($array['Result']['ResponseStatus']['IsSuccess']){ if($array['Result']['ResponseStatus']['IsSuccess']){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论