【类 型】:refactor
【主 题】:任务提交接口修改 【描 述】: [原因]:数据库解构字段 修改取消了之前的 quest字段 统一改为status字段 [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
d8b8e6bdc1
commit
17b91e1b25
@ -553,13 +553,7 @@ class PlaneController extends PublicController
|
||||
if ($_REQUEST['id'] && $_REQUEST['state'] && $_REQUEST['val']) {
|
||||
$where['id'] = $_REQUEST['id'];
|
||||
$orderDb = D('order');
|
||||
if ($_REQUEST['state'] == 'quest') {
|
||||
if ($_REQUEST['val'] == 'zero') {
|
||||
$data['quest'] = '0'; //改变退货状态
|
||||
} else {
|
||||
$data['quest'] = '1'; //改变退货状态
|
||||
}
|
||||
} elseif ($_REQUEST['state'] == 'status') {
|
||||
if ($_REQUEST['state'] == 'status') {
|
||||
$data['status'] = $_REQUEST['val']; //改变订单状态
|
||||
} elseif ($_REQUEST['state'] == 'back') {
|
||||
if ($_REQUEST['val'] == 'zero') {
|
||||
|
Loading…
Reference in New Issue
Block a user