徽章 SQL 错误:q.user_id

Your query needs to return at least the following columns:

  • user_id
  • granted_at

Also, you should definitely take a look at Add Badge to Solve answer - #2 by dax. :wink:

4 个赞