Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
crm_server
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
d07056b5
authored
Sep 13, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整db
parent
70b358da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
cmd/follow/handle/salesman.go
cmd/follow/handle/salesman.go
View file @
d07056b5
...
...
@@ -44,7 +44,9 @@ func UpdateLimitFollowTime() {
// 检查用户渠道,若为线上渠道则执行释放,否则跳过
var
user_info
model
.
Users
dao
.
GetNewDb
()
.
Get
(
&
user_info
,
"select * from lie_user where user_id = ?"
,
sales
.
User_Id
)
db
:=
dao
.
GetNewDb
()
db
.
Get
(
&
user_info
,
"select * from lie_user where user_id = ?"
,
sales
.
User_Id
)
defer
db
.
Close
()
if
user_info
.
Channel_type
!=
1
{
continue
...
...
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