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
462f17b2
authored
Jan 04, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
120e49ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Services/DataService.php
app/Http/Services/DataService.php
View file @
462f17b2
...
@@ -1449,13 +1449,13 @@ class DataService
...
@@ -1449,13 +1449,13 @@ class DataService
foreach
(
$contacts
as
$contact
)
{
foreach
(
$contacts
as
$contact
)
{
//判断创建时间是不是2025年1月3日的时间戳之前创建的
//判断创建时间是不是2025年1月3日的时间戳之前创建的
//如果是的话,那么就改成普通采购员
//如果是的话,那么就改成普通采购员
if
(
$contact
->
add_time
<
strtotime
(
'2025-01-02'
))
{
if
(
$contact
->
add_time
<
strtotime
(
'2025-01-02'
)
&&
$contact
->
channel_user_type
==
4
)
{
\dump
(
'修改 : '
.
$contact
->
contact_id
.
'编码 : '
.
$contact
->
can_check_uids
);
\dump
(
'修改 : '
.
$contact
->
contact_id
.
'编码 : '
.
$contact
->
can_check_uids
);
if
(
$isUpdate
)
{
if
(
$isUpdate
)
{
$contact
->
channel_user_type
=
1
;
$contact
->
channel_user_type
=
1
;
$contact
->
save
();
$contact
->
save
();
}
}
}
else
{
}
else
if
(
$contact
->
channel_user_type
==
4
)
{
\dump
(
'删除 : '
.
$contact
->
contact_id
.
'编码 : '
.
$contact
->
can_check_uids
);
\dump
(
'删除 : '
.
$contact
->
contact_id
.
'编码 : '
.
$contact
->
can_check_uids
);
if
(
$isUpdate
)
{
if
(
$isUpdate
)
{
// 如果是之后创建的,就删除
// 如果是之后创建的,就删除
...
...
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