Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e4d3c501
authored
2018-03-20 21:53:09 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
410c867f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
application/controllers/Work.php
application/controllers/Work.php
View file @
e4d3c50
...
...
@@ -86,7 +86,7 @@ class Work extends CI_Controller
public
function
detail
(
$id
=
null
)
{
$info
=
array
();
$url
=
'http://151.28ms.com:8088/order/detail/
950787318907011'
;
$url
=
'http://151.28ms.com:8088/order/detail/
'
.
$id
;
$context
=
stream_context_create
(
array
(
'http'
=>
array
(
...
...
@@ -97,8 +97,10 @@ class Work extends CI_Controller
)
));
$result
=
file_get_contents
(
$url
,
false
,
$context
);
var_dump
(
$result
);
exit
;
$detail
=
$this
->
load
->
view
(
'work/订单详情'
);
$data
=
array
(
'detail'
=>
$result
);
$this
->
load
->
view
(
'work/订单详情'
,
$data
);
}
/**
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment