Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
004c15be3e
@ -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
|
@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe UserAgent, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in new issue