Commit d07056b5 by 朱继来

调整db

parent 70b358da
Showing with 3 additions and 1 deletions
......@@ -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
......
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