提交 b3d7f993 作者: wj

修复抖音SDK支付问题

上级 6cf4e364
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @time: 2023-09-08 * @time: 2023-09-08
*/ */
class TTSDK { class TTSDK {
private sdkVersion: string = '2.0.4'; private sdkVersion: string = '2.0.41';
private appInfo: AppInfo; private appInfo: AppInfo;
private isBind = 0; // 是否已经绑定过其他角色 private isBind = 0; // 是否已经绑定过其他角色
public LaunchOptions: any; // 启动参数对象 public LaunchOptions: any; // 启动参数对象
...@@ -132,7 +132,7 @@ class TTSDK { ...@@ -132,7 +132,7 @@ class TTSDK {
this.loadingView(false); this.loadingView(false);
if (!code) { if (!code) {
// 小程序切支付 // 小程序切支付
if (data.code_url != '') { if (data.code_url && data.code_url != '') {
this.showOrderView(data.code_url); this.showOrderView(data.code_url);
return { code: <number>code, message: '切支付' } return { code: <number>code, message: '切支付' }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论