Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

大神,jssdk怎么用啊? #9

Open
jianke2008 opened this issue Apr 5, 2019 · 2 comments
Open

大神,jssdk怎么用啊? #9

jianke2008 opened this issue Apr 5, 2019 · 2 comments
Labels
question Further information is requested

Comments

@jianke2008
Copy link

js := NewJSSDK(core.C(util.Map{
"app_id": "wx3c69535993f4651d",
"secret": "f8c7a2cf0c6ed44e2c719964bbe13b1e",
}))
js.SetURL("https://mp.quick58.com")

这段代码跑不起来,找不到core.C

@godcong
Copy link
Owner

godcong commented Apr 5, 2019

core.C 移到了 wego.C下了,这个是map转config的方法。
可以直接从文件读取config的

@ninki51
Copy link

ninki51 commented Apr 7, 2019

感谢大神!

@godcong godcong added the question Further information is requested label Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants