Commit be847d8f by 孙龙

up

parent 7d274507
...@@ -145,15 +145,17 @@ Class AjaxController extends Controller ...@@ -145,15 +145,17 @@ Class AjaxController extends Controller
$res = $soap->login('PT', '123456', 'eas', env('ERP_DB_NAME'), 'L2', 1, 'BaseDB'); $res = $soap->login('PT', '123456', 'eas', env('ERP_DB_NAME'), 'L2', 1, 'BaseDB');
//接口 //接口
$this->erp = new \SoapClient(ENV("ERP_DOMAIN").'/ormrpc/services/WSIchuntjKFacade?wsdl'); $this->erp = new \SoapClient(ENV("ERP_DOMAIN").'/ormrpc/services/WSIchuntjKFacade?wsdl');
dump($this->erp); // dump($this->erp);
$this->erp->createIssueLabel(json_encode([ $this->erp->createIssueLabel(json_encode([
"templateId"=>1, "templateId"=>1,
"templateNmae"=>"aaaa", "templateNmae"=>"aaaa",
"createUser"=>"bbbb", "createUser"=>"bbbb",
"status"=>1, "status"=>1,
])); ]));
return true;
}catch(\Exception $e){ }catch(\Exception $e){
dump($e->getMessage()); return false;
// dump($e->getMessage());
} }
} }
......
...@@ -54,7 +54,7 @@ class WebController extends Controller ...@@ -54,7 +54,7 @@ class WebController extends Controller
// 首页 // 首页
public function index(Request $request) public function index(Request $request)
{ {
$JobsModel = new JobsModel(); // $JobsModel = new JobsModel();
$info = $this->getPageInfo($request); $info = $this->getPageInfo($request);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment