Commit 290575fb by 朱继来

删除推送页面token

parent 42360936
......@@ -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';
......
......@@ -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;">
......
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