feat:第三方查询流水
This commit is contained in:
1 parent
02c011a732
commit
c6231ce4d2
14 files changed
+137
-12
No files matched your search
+4
@@ -253,6 +253,10 @@ public class ThirdPayApiServiceImpl implements ThirdPayApiService {
|
||||
payLogService.save(logObj);
|
||||
return baseVo;
|
||||
}
|
||||
// 加密一下手机号
|
||||
for (PayWaterVo item : pageList.getData()) {
|
||||
item.setSignPhone(LbRetailSignUtils.sm4Encrypt(item.getSignPhone(), keySetting.getFieldKey()));
|
||||
}
|
||||
return pageList;
|
||||
} catch (Exception e) {
|
||||
log.error("|{}|流水查询,json|{}|headers|{}|", TAG, json, headers, e);
|
||||
|
||||
+2
-2
@@ -89,8 +89,8 @@ zy:
|
||||
# callback-recognition-url: /third/third-ks/callback/recognition
|
||||
# callback-sku-url: /third/third-ks/callback/sku
|
||||
lb:
|
||||
# base-url: https://elss-sit.nbcb.com.cn
|
||||
base-url: https://elss-sit.nbcb.com.cn/h5/thirdApp
|
||||
base-url: https://elss-sit.nbcb.com.cn
|
||||
# base-url: https://elss-sit.nbcb.com.cn/h5/thirdApp
|
||||
app-id: 7da62b1a9ade473c917f573c5748081e
|
||||
app-secret: 8ffl6b+OKTmdVAt9Qo+2F/HQQMdt/d8GFia0zUOt9l=
|
||||
company-number: 202504673472
|
||||
|
||||
Binary file not shown.
+14
@@ -5,9 +5,12 @@ import cn.hutool.http.HttpRequest;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.bsd.pjcloud.thirdparty.ThirdPartyApp;
|
||||
import com.bsd.pjcloud.thirdparty.constant.ThirdKeyTypeEnum;
|
||||
import com.bsd.pjcloud.thirdparty.dto.lb.LbH5LoginDto;
|
||||
import com.bsd.pjcloud.thirdparty.entity.ThirdKeyManageEntity;
|
||||
import com.bsd.pjcloud.thirdparty.service.ThirdKeyManageService;
|
||||
import com.bsd.pjcloud.thirdparty.service.impl.lb.ThirdLbApiServiceImpl;
|
||||
import com.bsd.pjcloud.thirdparty.utils.lb.tool.LbRetailSignUtils;
|
||||
import com.bsd.pjcloud.thirdparty.vo.lb.LbH5LoginVo;
|
||||
import com.bsd.pjcloud.thirdparty.vo.pay.PayBaseVo;
|
||||
import com.bsd.pjcloud.thirdparty.vo.pay.PayWalletInfoVo;
|
||||
import jakarta.annotation.Resource;
|
||||
@@ -39,6 +42,17 @@ public class PayTest {
|
||||
@Resource
|
||||
private ThirdKeyManageService keyManageService;
|
||||
|
||||
@Resource
|
||||
private ThirdLbApiServiceImpl thirdLbApiService;
|
||||
|
||||
// 宁波银行H5登录
|
||||
@Test
|
||||
public void lbH5login() throws Exception {
|
||||
LbH5LoginDto dto = new LbH5LoginDto();
|
||||
dto.setPhone("17683843144");
|
||||
LbH5LoginVo loginVo = thirdLbApiService.h5Login(dto);
|
||||
}
|
||||
|
||||
// 查询钱包信息
|
||||
@Test
|
||||
public void walletInfo() throws Exception {
|
||||
|
||||
Reference in new issue
Block a user