mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
6
app/models/user_agent.rb
Normal file
6
app/models/user_agent.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class UserAgent < ApplicationRecord
|
||||
has_many :user_actionss, :foreign_key => "ip", :primary_key => "ip"
|
||||
USER_AD = 1 # 广告宣传的引流
|
||||
USER_REGISTER = 2 # 引流注册
|
||||
USER_COMPETITION = 3 # 引流参加竞赛
|
||||
end
|
||||
Reference in New Issue
Block a user