🐛 #3704 【小程序】修复物流服务-同城配送服务-查询门店余额接口错误的逻辑
This commit is contained in:
@@ -170,7 +170,7 @@ public class WxMaIntracityServiceImpl implements WxMaIntracityService {
|
|||||||
@Override
|
@Override
|
||||||
public WxMaStoreBalance balanceQuery(String wxStoreId, String serviceTransId, PayMode payMode)
|
public WxMaStoreBalance balanceQuery(String wxStoreId, String serviceTransId, PayMode payMode)
|
||||||
throws WxErrorException {
|
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");
|
throw new IllegalArgumentException("payMode是PAY_MODE_STORE或null时,必须传递wxStoreId");
|
||||||
}
|
}
|
||||||
Map<String, Object> request = new HashMap<>();
|
Map<String, Object> request = new HashMap<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user