Commit 5c1d9fa1 authored by jyx's avatar jyx

代码优化

parent 69f1222a
......@@ -798,6 +798,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
req.miniprogramType =
// WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW // 可选打开 开发版,体验版和正式版
WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE // 可选打开 开发版,体验版和正式版
// val wx_api = WXAPIFactory.createWXAPI(context, "wxdafe24fe177a5661", true)
// api.registerApp("wxdafe24fe177a5661")
// api.openWXApp()
api.openWXApp()
api.sendReq(req)
} catch (e: Exception) {
e.printStackTrace()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment