thirdpayment
ljl 11 months ago
parent fc2f8c9192
commit 3aef834c3c

@ -48,6 +48,18 @@ class MineCommand extends HyperfCommand
public function handle(): void
{
$user = User::where('user_id', 'ACT_5')->first();
$baofu = new Baofu();
$result = $baofu->applyBindCard($user->contract_no, [
'cardNo' => '80094800000009440000053437',
'cardName' => '福建省万瑞天成企业管理服务有限公司',
'bankName' => '厦门国际银行',
'branchName' => '厦门国际银行股份有限公司',
'provinceName' => '福建省',
'cityName' => '厦门市',
], 'xxxxxxxxxxxxxxxxxx');
var_dump($result);
return;
$this->querySignEntrust('ACT_5');
$this->getBalance();
return;

@ -80,6 +80,9 @@ class WithdrawCommand extends HyperfCommand
$balance = $userService->getBalance($user->member_id);
echo 'after balance: ' . $balance . PHP_EOL;
var_dump(unserialize('a:1:{s:7:"content";s:1489:"{"waybillType":"1","waybillCount":"1","providerCode":"JTSD","branchCode":"7010785","source":"ISV","settlementCode":"","salePlatform":"0010001","platformOrderNo":"287633269290","vendorCode":"14613768","vendorName":"\u7ff0\u9999\u658b\u56fe\u4e66\u4e13\u8425\u5e97","vendorOrderCode":"287633269290","weight":0,"volume":0,"goodsName":"","promiseTimeType":0,"promiseCompleteTime":"","promiseOutStockTime":"","payType":0,"goodsMoney":0,"shouldPayMoney":0,"needGuarantee":false,"guaranteeMoney":0,"receiveTimeType":0,"warehouseCode":"","secondSectionCode":"","thirdSectionCode":"","remark":"","expressPayMethod":"","expressType":"","fromAddress":{"provinceId":"5","provinceName":"\u6cb3\u5317\u7701","cityId":"199","cityName":"\u4fdd\u5b9a\u5e02","countryId":"47213","countryName":"\u6dbf\u5dde\u5e02","countrysideId":"47706","countrysideName":"\u7801\u5934\u9547","address":"\u4e09\u5408\u5e84","contact":"\u4e8e\u4fca\u5cad","phone":"17310199106","mobile":"17310199106"},"toAddress":{"provinceId":"28","provinceName":"\u7518\u8083","cityId":"2501","cityName":"\u5929\u6c34\u5e02","countryId":"21645","countryName":"\u79e6\u5dde\u533a","countrysideId":"54923","countrysideName":"\u4e1c\u5173\u8857\u9053","address":"\u5efa\u8bbe\u8def105\u53f7\u5929\u6c34\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662","contact":"\u5434\u8302\u6797","phone":"3363343c4e928480be9d6eb91c15278db83dea7806b89f5d888342c45c1a7db688276d","mobile":"3363343c4e928480be9d6eb91c15278db83dea7806b89f5d888342c45c1a7db688276d"}}";}'));
}
private function createRequestLog($data) {

@ -360,7 +360,7 @@ class Baofu
{
$data = [];
$data['loginNo'] = $loginNo;
$data['cardNo'] = BFRSA::encryptByCERFile($info['cardNo'], config('baofu.cerFilePath'));
$data['cardNo'] = Rsa::encryptByCERFile($info['cardNo'], $this->getCerFilePath());
$data['cardName'] = $info['cardName'];
$data['bankName'] = $info['bankName'];
$data['branchName'] = $info['branchName'];

Loading…
Cancel
Save