Commit 012b0122 authored by christ's avatar christ

share

parent 468b7b7e
...@@ -338,7 +338,6 @@ class ShopkeeperController extends \Our\Controller_AbstractClient { ...@@ -338,7 +338,6 @@ class ShopkeeperController extends \Our\Controller_AbstractClient {
public function modifyOrderAmountAction(){ public function modifyOrderAmountAction(){
$orderId= intval($this->req['data']['orderId']); $orderId= intval($this->req['data']['orderId']);
$orderAmount= intval($this->req['data']['orderAmount']); $orderAmount= intval($this->req['data']['orderAmount']);
error_reporting(E_ALL);
if(empty($orderId) && empty($orderAmount)) { if(empty($orderId) && empty($orderAmount)) {
ErrorModel::throwException(CodeConfigModel::paramsError); ErrorModel::throwException(CodeConfigModel::paramsError);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment