You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
class UserAgent < ActiveRecord::Base
|
|
|
|
has_many :user_actionss, :foreign_key => "ip", :primary_key => "ip"
|
|
|
|
USER_AD = 1 # 广告宣传的引流
|
|
|
|
USER_REGISTER = 2 # 引流注册
|
|
|
|
USER_COMPETITION = 3 # 引流参加竞赛
|
|
|
|
end
|