Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hj
openApi
Commits
d176096d
Commit
d176096d
authored
Dec 07, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乐妍
parent
833a6282
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
server/app/Services/ThirdPlatform/Api/LeyanApiService.php
server/app/Services/ThirdPlatform/Api/LeyanApiService.php
+4
-4
No files found.
server/app/Services/ThirdPlatform/Api/LeyanApiService.php
View file @
d176096d
...
...
@@ -36,12 +36,12 @@ class LeyanApiService extends PlatformAbstractService
public
function
pushUpdateProductByCas
(
$product
,
$token
)
{
try
{
if
(
$this
->
check
platforms
tatus
()){
if
(
$this
->
check
PlatformS
tatus
()){
$params
=
[];
$params
[
'casNo'
]
=
$this
->
merge
apimetad
ata
(
$product
);
$params
[
'casNo'
]
=
$this
->
merge
ApiMetaD
ata
(
$product
);
$uri
=
$this
->
platformInfo
[
'platform_url'
]
.
'/ProductDate/findProductDataPoolByCatalogNoOrCas'
;
$response
=
$this
->
get
postc
lient
(
$response
=
$this
->
get
PostC
lient
(
$uri
,
$params
,
null
,
[
'token'
=>
$token
,
...
...
@@ -49,7 +49,7 @@ class LeyanApiService extends PlatformAbstractService
]
);
return
$this
->
api
r
esponse
(
$response
);
return
$this
->
api
R
esponse
(
$response
);
}
}
catch
(
\exception
$exception
){
SimpleLogs
::
writeLog
(
$exception
->
getMessage
(),
__CLASS__
.
':pushUpdateProductByCas error'
,
'error'
);
...
...
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