Skip to content

WxMaIntracityServiceImpl.balanceQuery 的判断条件写的有问题 #3704

@Calshon

Description

@Calshon

这里的判断条件写错了吧 逻辑是wxStoreId为null时 如果paymode是store或者null 就要拦截

    if (wxStoreId == null && (payMode != null && payMode != PayMode.STORE)) {
      throw new IllegalArgumentException("payMode是PAY_MODE_STORE或null时,必须传递wxStoreId");
    }

现在为传入wxStoreId,同时传入PayMode.APP就会被拦截
临时的解决方法是wxStoreId随便传入一个字符串

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions