Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
LC_server_goods
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
e5a2232e
authored
Dec 18, 2019
by
叶明星
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去掉断点
parent
c212776b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
app/Http/Controllers/ServicesController.php
app/Http/Controllers/ServicesController.php
View file @
e5a2232e
...
...
@@ -9,12 +9,10 @@ use App\Model\SelfGoodsModel;
use
App\Model\SkuModel
;
use
App\Model\SpuModel
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Log
;
class
ServicesController
extends
Controller
{
public
function
synchronization
(){
Log
::
info
(
microtime
(
true
));
$collert
=
TrimX
([
'goods_id'
,
'power'
],
false
);
if
(
empty
(
$collert
[
'goods_id'
]))
return
$this
->
Export
(
$this
->
ProduceErrcode
(
001
,
1
),
'没有SKUID'
);
if
(
empty
(
$collert
[
'power'
]))
...
...
@@ -34,7 +32,6 @@ class ServicesController extends Controller
$data
[
$SkuId
]
=
false
;
$data
[
$SkuId
]
=
$GoodsModel
->
WebSelfGoodsDetail
(
$SkuId
,
$collert
[
'power'
],
$Redis
);
}
Log
::
info
(
microtime
(
true
));
return
$this
->
Export
(
0
,
'success'
,[
'data'
=>
$data
]);
}
...
...
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