Browse Source

[fix]取消购买显示toast

zk 2 months ago
parent
commit
ad0f34a880
1 changed files with 0 additions and 3 deletions
  1. 0 3
      lib/module/member/member_controller.dart

+ 0 - 3
lib/module/member/member_controller.dart

@@ -626,9 +626,6 @@ class MemberController extends BaseController implements PaymentStatusCallback {
   }
 
   void errorPayToast(int? errno) {
-    if (errno == null) {
-      return;
-    }
     if (errno == AgilePayCode.payCodeNotSupport) {
       ToastUtil.show(StringName.payNotSupport);
     } else if (errno == AgilePayCode.payCodeCancelError) {