Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CnChunfeng / crm_server

  • This project
    • Loading...
  • Sign in
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 3 years ago by 朱继来's avatar 朱继来
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

调整db

parent 70b358da
Hide whitespace changes
Inline Side-by-side
Showing 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() { ...@@ -44,7 +44,9 @@ func UpdateLimitFollowTime() {
// 检查用户渠道,若为线上渠道则执行释放,否则跳过 // 检查用户渠道,若为线上渠道则执行释放,否则跳过
var user_info model.Users 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 { if user_info.Channel_type != 1 {
continue continue
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment