diff --git a/app/api/mobile/apis/users.rb b/app/api/mobile/apis/users.rb index ab2ba49b4..28fbb8839 100644 --- a/app/api/mobile/apis/users.rb +++ b/app/api/mobile/apis/users.rb @@ -11,7 +11,7 @@ module Mobile requires :mail, type: String, desc: 'mail' requires :password, type: String, desc: 'password' end - post '/bindwx' do + post 'wxbind' do code = params[:code] || session[:wechat_code] openid = get_openid_from_code(code)