Commit 36d9a2a0 by 朱继来

Merge branch 'zjl_create_order_20180813'

parents 06fa5d72 4d26471f
Showing with 2 additions and 2 deletions
......@@ -289,8 +289,8 @@ Class AddOrderController extends Controller
if ($request->isMethod('post')) {
$url = Config('website.search-skuid');
$data['sku_id'] = $request->input('sku_id');
$response = json_decode(curlApi($url, $data), true);
$response = json_decode(curlApi($url, $data, 'POST'), true);
if (!empty($response['data']['data'])) {
return ['errcode' => 0, 'errmsg' => '', 'data' => $response['data']['data'][0]];
......
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