update app/data/controller/api/auth/Transfer.php.

修复提示消息错误
This commit is contained in:
夜丶有雪 2021-10-11 09:34:50 +00:00 committed by Gitee
parent bddf0420f7
commit 16315b49df

View File

@ -86,7 +86,7 @@ class Transfer extends Auth
$this->error("不能少于{$transfers[$data['type']]['minAmount']}");
}
if ($transfers[$data['type']]['maxAmount'] < $data['amount']) {
$this->error("不能大于{$transfers[$data['type']]['minAmount']}");
$this->error("不能大于{$transfers[$data['type']]['maxAmount']}");
}
// 写入用户提现数据
if (DataUserTransfer::mk()->insert($data) !== false) {