Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
77307efb
authored
Dec 09, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整协议
parent
2d4e0f80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/OrderController.php
View file @
77307efb
...
@@ -682,6 +682,8 @@ Class OrderController extends Controller
...
@@ -682,6 +682,8 @@ Class OrderController extends Controller
$info
[
'map'
][
'p'
]
=
1
;
$info
[
'map'
][
'p'
]
=
1
;
$potrol
=
$_SERVER
[
'SERVER_PORT'
]
==
443
?
'https'
:
'http'
;
$params
=
[
$params
=
[
"type"
=>
2
,
// 类型 1:模板调用 2: api回调 (必填)
"type"
=>
2
,
// 类型 1:模板调用 2: api回调 (必填)
"source_items_id"
=>
$source_items_id
,
//设置来源明细id:http://data.ichunt.net/database/1199(必填)
"source_items_id"
=>
$source_items_id
,
//设置来源明细id:http://data.ichunt.net/database/1199(必填)
...
@@ -689,7 +691,7 @@ Class OrderController extends Controller
...
@@ -689,7 +691,7 @@ Class OrderController extends Controller
"excel_suf"
=>
"csv"
,
//导出文件格式 csv,xls(必填)
"excel_suf"
=>
"csv"
,
//导出文件格式 csv,xls(必填)
"header"
=>
$headerCell
,
//导出文件头部 (必填,不得用 ID 做头部,数据顺序必须一致)
"header"
=>
$headerCell
,
//导出文件头部 (必填,不得用 ID 做头部,数据顺序必须一致)
"query_param"
=>
$info
[
'map'
],
//p 第几页,limit每页多少条 占位符,照抄不需要改 (必填)
"query_param"
=>
$info
[
'map'
],
//p 第几页,limit每页多少条 占位符,照抄不需要改 (必填)
"callbackurl"
=>
"http
://"
.
$_SERVER
[
'HTTP_HOST'
]
.
"/hprose/service"
,
//hrpose 数据提供网址(提供导出脚本分页回调获取数据,必填)
"callbackurl"
=>
$potrol
.
"
://"
.
$_SERVER
[
'HTTP_HOST'
]
.
"/hprose/service"
,
//hrpose 数据提供网址(提供导出脚本分页回调获取数据,必填)
"callbackfuc"
=>
"orderExport"
,
//hrpose 回调函数(必填)
"callbackfuc"
=>
"orderExport"
,
//hrpose 回调函数(必填)
"create_uid"
=>
$request
->
user
->
userId
,
#创建人id(必填)
"create_uid"
=>
$request
->
user
->
userId
,
#创建人id(必填)
];
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment