Skip to content

Commit

Permalink
Merge branch 'master' into plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuanxiao committed May 18, 2018
2 parents 46e9a54 + 8e51924 commit 1741b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static WXApiModule getInstans() {
}

public void onCreateWXApi(Context context, String appId) {
if (TextUtils.isEmpty(appId)) {
if (!TextUtils.isEmpty(appId)) {
mWXApi = WXAPIFactory.createWXAPI(context, appId, true);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void pay(String params, JSCallback callback) {
}

@JSMethod(uiThread = true)
public void intWXPay(String appid) {
public void intWX(String appid) {
WXApiModule.getInstans().onCreateWXApi(mWXSDKInstance.getContext(), appid);
}

Expand Down

0 comments on commit 1741b40

Please sign in to comment.