You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Helper/Baofu/H5List.php

68 lines
2.6 KiB
PHTML

1 year ago
<?php
namespace App\Helper\Baofu;
class H5List
{
private static $list = [
'apply' => [
'description' => '企业实名开户',
'url' => '/api/merchant/v1/apply',
'signParams' => 'orgNo|terminalNo|loginNo|requestDate|email'
],
'register' => [
'description' => '个人实名开户',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|dataContent',
'callType' => 'REGISTER',
],
1 year ago
'card-bind' => [
1 year ago
'description' => '个人银行卡签约',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|dataContent',
'callType' => 'CARDBIND',
],
1 year ago
'card-unbind' => [
1 year ago
'description' => '个人银行卡解约',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|dataContent',
'callType' => 'CARDUNBIND',
],
'withdraw' => [
'description' => '个人提现',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|null',
'callType' => 'WITHDRAW',
],
1 year ago
'pwd-modify' => [
1 year ago
'description' => '个人支付密码修改',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|',
'callType' => 'PWDMODIFY',
],
1 year ago
'pwd-forget' => [
1 year ago
'description' => '个人支付密码设置',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|',
'callType' => 'PWDFORGET',
],
1 year ago
'pw-reset' => [
1 year ago
'description' => '企业支付密码设置',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|null',
'callType' => 'BM_PWRESET',
],
1 year ago
'enterprise-pwd-modify' => [
1 year ago
'description' => '企业支付密码修改',
'url' => '/api/wallet/v3.0.0/login',
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|null',
'callType' => 'BM_PWDMODIFY'
],
];
public static function get($h5Name)
{
return self::$list[$h5Name] ?: null;
}
}