提交 648bae75 authored 作者: fengzy's avatar fengzy

test

上级 04751649
<?php
namespace Home\Controller;
use Think\Controller;
class FkController extends Controller {
class FkaaController extends Controller {
public function index(){
// $Model = M();
// $sql = " select * from T_AP_PAYBILL WHERE FAPPROVEDATE >= '2020-05-01' and fdocumentstatus='C'";
......
<?php
namespace Home\Controller;
use Think\Controller;
class FkaaController extends Controller {
public function index(){
// $Model = M();
// $sql = " select * from T_AP_PAYBILL WHERE FAPPROVEDATE >= '2020-05-01' and fdocumentstatus='C'";
// $voList = $Model->query($sql);
// foreach ($voList as $key => $value) {
// $number=$value['fid'];
// //登陆参数
// $cloudUrl = "http://192.168.1.211/k3cloud/";
// $data = array(
// '5865e29cb51ecf',//帐套Id
// 'administrator',//用户名
// 'kJyGjIQ5DW0tpd@B',//密码
// '2052'//语言标识359010087
// );
// //定义记录Cloud服务端返回的Session17070038
// $cookie_jar = tempnam('/tmp','CloudSession');
// $post_content = self::create_postdata($data);
// $result = self::invoke_login($cloudUrl,$post_content,$cookie_jar);
// $data_model = "{'CreateOrgId': 0,'Number':'','Id':$number}";
// $data = array(
// 'AP_PAYBILL',//业务对象标识FormId
// $data_model//具体Json字串
// );
// $post_content = self::create_postdata($data);
// $result = self::invoke_save($cloudUrl,$post_content,$cookie_jar);
// $array = json_decode($result,true);
// // $array['Result']['ResponseStatus']["Result"]["BILLNo"];
// echo "<pre>";
// // $array['Result']['ResponseStatus']["Result"]["BILLNo"]
// //$array['Result']["Result"]["BILLNo"] 付款单
// var_dump($array);die;
// }
echo 1111;
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论