【类 型】:fix

【主	题】:写入数据库字段 键值修改
【描	述】:
	[原因]:因订单表字段修改 写入数据库 键值修改
	[过程]:创建订单时间 addtime改为 order_time
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-06-20 19:40:51 +08:00
parent e561fae860
commit 87a311a800

View File

@ -136,7 +136,7 @@ class CheckController extends PublicController
$data['receive_site_name'] = $site['sitename'];
$data['product_snapshot'] = json_encode($product_snapshot, JSON_UNESCAPED_UNICODE);
$data['remark'] = $_REQUEST['remark'];
$data['addtime'] = time();
$data['order_time'] = time();
$orderDb = D('order');
$isAdd = $orderDb->data($data)->add();