This commit is contained in:
邹景立 2021-10-13 17:47:20 +08:00
commit 7dc365921e

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) {