精简model/controllers/views

This commit is contained in:
sylor_huang@126.com
2020-04-23 11:08:29 +08:00
parent 4f343c7967
commit 620c8754d4
166 changed files with 52 additions and 7743 deletions

View File

@@ -1,5 +1,5 @@
class UserAgent < ApplicationRecord
has_many :user_actionss, :foreign_key => "ip", :primary_key => "ip"
has_many :user_actions, :foreign_key => "ip", :primary_key => "ip"
USER_AD = 1 # 广告宣传的引流
USER_REGISTER = 2 # 引流注册
USER_COMPETITION = 3 # 引流参加竞赛