Change-Id: I2aad3444326304753e3814e7b717d29172459662
This commit is contained in:
vguanyiwgd 2024-04-09 14:46:58 +08:00
parent 7f34860e90
commit 88d4f22935
1 changed files with 1 additions and 14 deletions

View File

@ -57,13 +57,6 @@ class Order extends REST_Controller
$total_price = $this->input->post('total_price');
$notes = $this->input->post('notes');
if(empty($notes)){
$this->response(array(
'status' => 0,
'message' => '请先填写备注',
'data' => $data
), REST_Controller::HTTP_OK);
}
if ($this->user->type_id != USERTYPE_OFFICIAL) {
if (floatval($total_price) >= 0) {
} else {
@ -526,13 +519,7 @@ class Order extends REST_Controller
$total_price = $this->input->post('total_price');
$notes = $this->input->post('notes');
if(empty($notes)){
$this->response(array(
'status' => 0,
'message' => '请先填写备注',
'data' => $data
), REST_Controller::HTTP_OK);
}
if ($this->user->type_id != USERTYPE_OFFICIAL) {
if (floatval($total_price) >= 0) {
} else {