优化安装检测程序,增强报错提示

This commit is contained in:
技术老胡
2025-03-07 21:16:58 +08:00
parent 0a270541c7
commit d0fe56bade
3 changed files with 283 additions and 158 deletions

View File

@@ -92,6 +92,7 @@ class PayManageController extends BaseController
if ($check) {
return json(backMsg(1, '编号已存在'));
}
$info['last_time'] = date('Y-m-d H:i:s');
$res = PayChannel::create($info);
if ($res) {
return json(backMsg(0, '添加成功'));