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
8439df61
authored
Nov 18, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改字样
parent
a2fdd079
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Services/SupplierService.php
app/Http/Services/SyncSupplierService.php
app/Http/Services/SupplierService.php
View file @
8439df61
...
@@ -369,7 +369,7 @@ class SupplierService
...
@@ -369,7 +369,7 @@ class SupplierService
if
(
$newSupplier
[
'is_entity'
]
==
0
)
{
if
(
$newSupplier
[
'is_entity'
]
==
0
)
{
//这里还涉及到一体化的状态变更,要去判断is_entity字段
//这里还涉及到一体化的状态变更,要去判断is_entity字段
//如果是0的话,那么就要去禁用,并且记录禁用前的原始状态
//如果是0的话,那么就要去禁用,并且记录禁用前的原始状态
$reason
=
'待确认实体名单,系统自动拉入禁止交易,请联系“
风控
部门”进行确认;'
;
$reason
=
'待确认实体名单,系统自动拉入禁止交易,请联系“
运营合规
部门”进行确认;'
;
// 禁用供应商
// 禁用供应商
SupplierChannelModel
::
where
(
'supplier_id'
,
$supplierId
)
->
update
([
SupplierChannelModel
::
where
(
'supplier_id'
,
$supplierId
)
->
update
([
'update_time'
=>
time
(),
'update_time'
=>
time
(),
...
...
app/Http/Services/SyncSupplierService.php
View file @
8439df61
...
@@ -271,7 +271,7 @@ class SyncSupplierService
...
@@ -271,7 +271,7 @@ class SyncSupplierService
}
}
if
(
$result
==
0
)
{
if
(
$result
==
0
)
{
$isEntityResult
=
SupplierChannelModel
::
IS_ENTITY_NEED_CONFIRM
;
$isEntityResult
=
SupplierChannelModel
::
IS_ENTITY_NEED_CONFIRM
;
$logContent
=
$reason
=
"待确认实体名单,系统自动拉入禁止交易,请联系“
风控
部门”进行确认. 风险类型 :
$warningType
风险词 :
$warningKeyword
风险数据 :
$warningData
"
;
$logContent
=
$reason
=
"待确认实体名单,系统自动拉入禁止交易,请联系“
运营合规
部门”进行确认. 风险类型 :
$warningType
风险词 :
$warningKeyword
风险数据 :
$warningData
"
;
}
}
if
(
$result
==
-
3
)
{
if
(
$result
==
-
3
)
{
$handleReason
=
array_get
(
$resultData
,
'handle_result'
,
'无'
);
$handleReason
=
array_get
(
$resultData
,
'handle_result'
,
'无'
);
...
...
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