收口审计治理与套餐任务进展
Constraint: 在线热修前必须保存当前迭代分支全部有效代码进展 Confidence: medium Scope-risk: broad Directive: 后续修改需保持审计事件与业务事务边界一致 Tested: git diff --cached --check Not-tested: 未运行全量测试,提交用于切换分支前保存既有工作
This commit is contained in:
@@ -52,6 +52,8 @@ const (
|
||||
IntegrationProviderWechatPay = "wechat_pay"
|
||||
// IntegrationProviderAlipay 表示支付宝提供方。
|
||||
IntegrationProviderAlipay = "alipay"
|
||||
// IntegrationProviderFuiou 表示富友支付提供方。
|
||||
IntegrationProviderFuiou = "fuiou"
|
||||
// IntegrationOperationPaymentPreCreate 表示扫码支付预下单。
|
||||
IntegrationOperationPaymentPreCreate = "payment_precreate"
|
||||
// IntegrationOperationPaymentQuery 表示支付订单查询。
|
||||
@@ -60,6 +62,8 @@ const (
|
||||
IntegrationOperationPaymentCallback = "payment_callback"
|
||||
// IntegrationResourceTypeAgentRechargePayment 表示代理充值支付单资源。
|
||||
IntegrationResourceTypeAgentRechargePayment = "agent_recharge_payment"
|
||||
// IntegrationResourceTypePayment 表示通用支付记录资源。
|
||||
IntegrationResourceTypePayment = "payment"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -144,7 +148,7 @@ func IntegrationProviderName(provider string) string {
|
||||
names := map[string]string{
|
||||
IntegrationProviderCTCC: "中国电信", IntegrationProviderCMCC: "中国移动",
|
||||
IntegrationProviderCUCC: "中国联通", IntegrationProviderWechatPay: "微信支付",
|
||||
IntegrationProviderAlipay: "支付宝", IntegrationProviderWeCom: "企业微信",
|
||||
IntegrationProviderAlipay: "支付宝", IntegrationProviderFuiou: "富友支付", IntegrationProviderWeCom: "企业微信",
|
||||
IntegrationProviderGateway: "Gateway",
|
||||
}
|
||||
if name := names[provider]; name != "" {
|
||||
@@ -183,7 +187,11 @@ func IntegrationOperationName(operation string) string {
|
||||
IntegrationOperationWeComApprovalInfo: "查询企业微信审批单号",
|
||||
IntegrationOperationGatewayRealname: "查询实名状态", IntegrationOperationGatewayTraffic: "查询流量",
|
||||
IntegrationOperationGatewayNetwork: "查询卡网络状态", IntegrationOperationGatewayDeviceInfo: "查询设备信息",
|
||||
IntegrationOperationGatewaySpeedTier: "设置卡限速档位",
|
||||
IntegrationOperationGatewaySpeedTier: "设置卡限速档位", IntegrationOperationGatewayStopCard: "停机",
|
||||
IntegrationOperationGatewayStartCard: "复机", IntegrationOperationGatewaySetWiFi: "设置设备 Wi-Fi",
|
||||
IntegrationOperationGatewaySwitchMode: "设置设备切卡模式", IntegrationOperationGatewaySwitchCard: "切换设备当前卡",
|
||||
IntegrationOperationGatewayReboot: "重启设备",
|
||||
IntegrationOperationGatewayReset: "恢复设备出厂设置",
|
||||
}
|
||||
if name := names[operation]; name != "" {
|
||||
return name
|
||||
|
||||
Reference in New Issue
Block a user