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