This commit is contained in:
parent
3d97508e20
commit
e732a47f2f
|
@ -7,7 +7,7 @@ module Wechat
|
|||
class Api < ApiBase
|
||||
API_BASE = 'https://api.weixin.qq.com/cgi-bin/'
|
||||
OAUTH2_BASE = 'https://api.weixin.qq.com/sns/oauth2/'
|
||||
OAUTH2_USERINFO = 'https://api.weixin.qq.com/sns'
|
||||
OAUTH2_USERINFO = 'https://api.weixin.qq.com/sns/'
|
||||
|
||||
def initialize(appid, secret, token_file, timeout, skip_verify_ssl, jsapi_ticket_file)
|
||||
@client = Client.new(API_BASE, timeout, skip_verify_ssl)
|
||||
|
|
Loading…
Reference in New Issue