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
6a5db520
authored
Aug 25, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去除
parent
c5ebfbf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app/Http/Services/SupplierService.php
app/Http/Services/SupplierService.php
View file @
6a5db520
...
...
@@ -600,16 +600,16 @@ class SupplierService
]);
$supplier
=
SupplierChannelModel
::
where
(
'supplier_id'
,
$supplierId
)
->
first
()
->
toArray
();
//还要丢队列给批量修改sku的内部编码
$redisKey
=
'lie_supplier_change_yunxin_user_'
.
$supplierId
;
if
(
$redis
->
get
(
$redisKey
)
)
{
//
$redisKey = 'lie_supplier_change_yunxin_user_' . $supplierId;
if
(
true
)
{
$data
=
[
'canal'
=>
$supplier
[
'supplier_code'
],
"encoded"
=>
$yunxinChannelUid
,
];
//改成队列
(
new
SkuService
())
->
batchUpdateEncodedQueue
(
$data
);
$redis
->
set
(
$redisKey
,
1
);
$redis
->
expire
(
$redisKey
,
60
*
60
*
3
);
//
$redis->set($redisKey, 1);
//
$redis->expire($redisKey, 60 * 60 * 3);
}
$preYunxinChannelUserName
=
(
new
AdminUserService
())
->
getAdminUserNameByCodeId
(
$preYunxinChannelUid
);
$content
=
"将线上采购员由 [${preYunxinChannelUserName}] 改为 [${yunxinChannelUserName}]"
;
...
...
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