openid参数

chenlw_dev
guange 9 years ago
parent ff93e9f79b
commit e1f1c6fbc0

@ -9,7 +9,7 @@ module Mobile
params do
requires :page, type: Integer
requires :token, type: String
requires :openid, type: String
end
post do
user = UserWechat.find_by_openid(params[:openid])

@ -26,7 +26,6 @@ $(function(){
dataType: 'json',
success: function(data){
g_openid = data.openid;
alert(g_openid);
cb(g_openid);
},
error: function(xhr,err){

Loading…
Cancel
Save