ADD 个人中心添加devops管理功能

This commit is contained in:
Jasder
2020-09-03 15:52:54 +08:00
parent 731c06185b
commit 562d0b7b07
13 changed files with 327 additions and 47 deletions

View File

@@ -10,9 +10,10 @@ class User < ApplicationRecord
# include Searchable::Dependents::User
# devops step
# devops_step column: 0: 未填写服务器信息1: 已填写服务器信息(未认证)
# devops_step column: 0: 未填写服务器信息1: 已填写服务器信息(未认证)2: 已认证
DEVOPS_UNINIT = 0
DEVOPS_UNVERIFIED = 1
DEVOPS_CERTIFICATION = 2
# Account statuses
STATUS_ANONYMOUS = 0