Commit a9131910 by mushishixian

temp

parent 843d0ae1
......@@ -80,9 +80,8 @@ class SkuApiController extends Controller
$sKey = $request->cookie('oa_skey');
$cookie = 'oa_user_id=' . $userId . '; oa_skey=' . $sKey;
$result = curl($url, $map, true, false, $cookie);
dd($result);
$result = json_decode($result, true);
if (isset($result['err_code']) && $result['err_code'] === 0) {
if (isset($result['errcode']) && $result['errcode'] === 0) {
$this->response(0, '批量下架任务已经发送,请等待任务完成,期间你可以刷新列表查看下架情况');
} else {
$this->response(-1, '批量下架失败');
......
......@@ -9,6 +9,7 @@
let layer = layui.layer;
let fileName = '';
var loadIndex = 0;
upload.render({
elem: '.uploadButton'
, url: '{{config('website.UploadUrl')}}' //改成您自己的上传接口
......
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