Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
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
a9131910
authored
May 06, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp
parent
843d0ae1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/Api/SkuApiController.php
resources/views/script/supplier/SupplierFileScript.blade.php
app/Http/Controllers/Api/SkuApiController.php
View file @
a9131910
...
...
@@ -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
[
'err
code'
])
&&
$result
[
'err
code'
]
===
0
)
{
$this
->
response
(
0
,
'批量下架任务已经发送,请等待任务完成,期间你可以刷新列表查看下架情况'
);
}
else
{
$this
->
response
(
-
1
,
'批量下架失败'
);
...
...
resources/views/script/supplier/SupplierFileScript.blade.php
View file @
a9131910
...
...
@@ -9,6 +9,7 @@
let
layer
=
layui
.
layer
;
let
fileName
=
''
;
var
loadIndex
=
0
;
upload
.
render
({
elem
:
'.uploadButton'
,
url
:
'{{config('
website
.
UploadUrl
')}}'
//改成您自己的上传接口
...
...
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