Merge branch 'master' of ssh://code.srdcloud.cn:29418/fsdxszhpt/yzms

This commit is contained in:
fengjh5 2024-04-09 15:21:01 +08:00
commit 6f84de4e6e
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 {