...
|
...
|
@@ -103,6 +103,7 @@ class Order extends Backend |
|
|
$result = $row->allowField(true)->save(array_merge([
|
|
|
'delivery_status' => '1',
|
|
|
'delivery_time' => time(),
|
|
|
'express_company' => db('kdniao')->where('code',$params['express_code'])->value('company')
|
|
|
],$params));
|
|
|
if ($result !== false) {
|
|
|
$this->success();
|
...
|
...
|
@@ -117,6 +118,7 @@ class Order extends Backend |
|
|
}
|
|
|
$this->error(__('Parameter %s can not be empty', ''));
|
|
|
}
|
|
|
$this->view->assign('express_company_list',db('kdniao')->select());
|
|
|
return $this->view->fetch();
|
|
|
}
|
|
|
} |
...
|
...
|
|