!18 修复提现提示消息

Merge pull request !18 from 夜丶有雪/v6
This commit is contained in:
Anyon 2021-10-12 06:53:39 +00:00 committed by Gitee
commit b99a31c00d

View File

@ -86,7 +86,7 @@ class Transfer extends Auth
$this->error("不能少于{$transfers[$data['type']]['minAmount']}"); $this->error("不能少于{$transfers[$data['type']]['minAmount']}");
} }
if ($transfers[$data['type']]['maxAmount'] < $data['amount']) { 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) { if (DataUserTransfer::mk()->insert($data) !== false) {