|
|
@ -15,11 +15,7 @@ class TrainingsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: 测试完成后删除
|
|
|
|
# TODO: 测试完成后删除
|
|
|
|
ALLOW_OPENID_LIST = [
|
|
|
|
ALLOW_OPENID_LIST = [
|
|
|
|
'o5fSc08-NDxC2564k9USCuiuC9cY',
|
|
|
|
'oSrqE52fgGMooW3B1K4mZ0Le5G9I'
|
|
|
|
'o5fSc097mQbwhYVLK9DAIa3uz_ug',
|
|
|
|
|
|
|
|
'o5fSc0607iR3rp4-h_VnuBTp8CiM',
|
|
|
|
|
|
|
|
'o5fSc0-nX6bUGQNQt3FrRhUKVNIw',
|
|
|
|
|
|
|
|
'o5fSc0607iR3rp4-h_VnuBTp8CiM'
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
before_filter :check_openid, only: [:update_payinfo]
|
|
|
|
before_filter :check_openid, only: [:update_payinfo]
|
|
|
|
def check_openid
|
|
|
|
def check_openid
|
|
|
|