Commit c6c2ac82 by 朱继来

调整

parent bb483983
Showing with 4 additions and 2 deletions
......@@ -707,6 +707,10 @@ Class AddOrderController extends Controller
$data['k1'] = time();
$data['k2'] = md5(md5($data['k1']).'fh6y5t4rr351d2c3bryi');
$report_ids = $request->input('report_ids', '');
if ($report_ids) $data['pf'] = 8;
$url = Config('website.api_domain').'order/create';
// dd(curlApi($url, $data));
$response = json_decode(curlApi($url, $data), true);
......@@ -714,8 +718,6 @@ Class AddOrderController extends Controller
if ($response['err_code'] != 0) return ['errcode' => $response['err_code'], 'errmsg' => $response['err_msg']];
// 若存在销售报价明细ID,则修改对应报价单状态为已成单
$report_ids = $request->input('report_ids', '');
if ($report_ids) {
$ids = explode(',', $report_ids);
......
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