提交 146f84ab authored 作者: fengzy's avatar fengzy

费用报销脚本

上级 fb6963fe
......@@ -166,7 +166,7 @@ class flow_projectfkClassModel extends flowModel
$model['Model']['FDepartment']['FNumber']=self::deptname($applicationdpt);
$data_model=json_encode($model);
var_dump($data_model);
$data = array(
'AP_PAYBILL',//业务对象标识FormId
$data_model//具体Json字串
......@@ -175,7 +175,7 @@ class flow_projectfkClassModel 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论