mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-24 08:33:19 +08:00
🐛 #3704 【小程序】修复物流服务-同城配送服务-查询门店余额接口错误的逻辑
This commit is contained in:
@@ -170,7 +170,7 @@ public class WxMaIntracityServiceImpl implements WxMaIntracityService {
|
||||
@Override
|
||||
public WxMaStoreBalance balanceQuery(String wxStoreId, String serviceTransId, PayMode payMode)
|
||||
throws WxErrorException {
|
||||
if (wxStoreId == null && (payMode != null && payMode != PayMode.STORE)) {
|
||||
if (wxStoreId == null && (payMode == null || payMode == PayMode.STORE)) {
|
||||
throw new IllegalArgumentException("payMode是PAY_MODE_STORE或null时,必须传递wxStoreId");
|
||||
}
|
||||
Map<String, Object> request = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user