From b1306711da97df28e05f3b61e48bd6d5893e3e29 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Tue, 18 Jun 2019 19:41:30 +0800 Subject: [PATCH 1/2] add wechat oauth file --- public/MP_verify_FL7DKThNNDDEnU4k.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/MP_verify_FL7DKThNNDDEnU4k.txt diff --git a/public/MP_verify_FL7DKThNNDDEnU4k.txt b/public/MP_verify_FL7DKThNNDDEnU4k.txt new file mode 100644 index 00000000..5f5ee70d --- /dev/null +++ b/public/MP_verify_FL7DKThNNDDEnU4k.txt @@ -0,0 +1 @@ +FL7DKThNNDDEnU4k \ No newline at end of file From ef8ee3c7e5df7814cfe9c97d3f33d3ef2fcea769 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Tue, 18 Jun 2019 20:23:42 +0800 Subject: [PATCH 2/2] test wexpau --- app/controllers/trainings_controller.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/controllers/trainings_controller.rb b/app/controllers/trainings_controller.rb index c88cee80..d97cd53b 100644 --- a/app/controllers/trainings_controller.rb +++ b/app/controllers/trainings_controller.rb @@ -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