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
290575fb
authored
Nov 14, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
删除推送页面token
parent
42360936
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
app/Http/Controllers/OrderController.php
resources/views/detail/sendSales.blade.php
app/Http/Controllers/OrderController.php
View file @
290575fb
...
...
@@ -889,17 +889,12 @@ Class OrderController extends Controller
public
function
sendSales
(
Request
$request
,
$id
=
''
)
{
if
(
$request
->
isMethod
(
'post'
))
{
$form_token
=
$request
->
input
(
'form_token'
,
''
);
$order_id
=
$request
->
input
(
'order_id'
,
''
);
$sale_id
=
$request
->
input
(
'sale_id'
,
''
);
$send_remark
=
$request
->
input
(
'send_remark'
,
''
);
$operator_id
=
$request
->
user
->
userId
;
if
(
!
$form_token
||
!
$order_id
||
!
$sale_id
)
return
[
'errcode'
=>
Error
::
E_NOT_EXISTS
,
'errmsg'
=>
'参数不存在'
];
$res
=
validFormToken
(
$form_token
);
if
(
$res
===
false
)
return
[
'errcode'
=>
Error
::
E_FORM_RESUBMIT
,
'errmsg'
=>
'请勿重复提交'
];
if
(
!
$order_id
||
!
$sale_id
)
return
[
'errcode'
=>
Error
::
E_NOT_EXISTS
,
'errmsg'
=>
'参数不存在'
];
$url
=
Config
(
'website.api_domain'
)
.
'order/sendSales'
;
...
...
resources/views/detail/sendSales.blade.php
View file @
290575fb
...
...
@@ -6,7 +6,6 @@
@endif
<form
id=
"sendSalesForm"
class=
"form-horizontal table-responsive"
>
<input
type=
"hidden"
name=
"form_token"
value=
"{{ getFormToken('sendsales') }}"
>
<input
type=
"hidden"
name=
"order_id"
value=
"{{ $order_info['order_id'] }}"
>
<table
class=
"table table-bordered table-hover check-table"
style=
"min-height:150px;"
>
...
...
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