feat:第三方支付增加查询条件
This commit is contained in:
1 parent
4b289e52ce
commit
c56d76bfb1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -185,7 +185,7 @@ public class ThirdPayApiServiceImpl implements ThirdPayApiService {
|
||||
String userPhone = null;
|
||||
// 判断是根据手机号查询还是根据用户id查询
|
||||
if (ObjectUtil.isNotEmpty(dto.getUserId())) {
|
||||
UserInfo userInfo = userService.getByUserId(dto.getUserId()).getData();
|
||||
UserInfo userInfo = userService.getInnerByUserId(dto.getUserId()).getData();
|
||||
if (ObjectUtil.isEmpty(userInfo)) {
|
||||
baseVo.set(ThirdPayVoStatusEnum.USER_EXIST);
|
||||
// 日志
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ public class PayTest {
|
||||
ThirdKeyManageEntity config = getLbConfig();
|
||||
Map<String, Object> paramsMap = new HashMap<>();
|
||||
paramsMap.put("signPhone", LbRetailSignUtils.sm4Encrypt("17683843141", config.getFieldKey()));
|
||||
// paramsMap.put("userId", 1875049673022279681L);
|
||||
paramsMap.put("userId", 1875049673022279682L);
|
||||
String body = JSONUtil.toJsonStr(paramsMap);
|
||||
// 发送请求
|
||||
String res = HttpRequest.post(baseUrl + walletInfoUrl).contentType("application/json").header(apiCountersign(body)).body(body).execute().body();
|
||||
|
||||
Reference in new issue
Block a user