feat: 新增提现文案翻译工具类,统一处理失败与驳回原因
这个提交包含在:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace app\api\controller;
|
||||
|
||||
use app\common\library\WithdrawText;
|
||||
use think\Db;
|
||||
|
||||
/**
|
||||
@@ -105,7 +106,7 @@ class AdminDist extends V1
|
||||
'status' => (string)$row['status'],
|
||||
'channel' => (string)$row['channel'],
|
||||
'transferStatus' => (string)(isset($row['transfer_status']) ? $row['transfer_status'] : ''),
|
||||
'failReason' => (string)(isset($row['fail_reason']) ? $row['fail_reason'] : ''),
|
||||
'failReason' => WithdrawText::fail(isset($row['fail_reason']) ? $row['fail_reason'] : ''),
|
||||
'createdAt' => $this->iso($row['createtime']),
|
||||
];
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户