Commit 005be235 authored by clone's avatar clone

bug

parent 5d928760
...@@ -32,6 +32,9 @@ class AccountBalance extends Basic{ ...@@ -32,6 +32,9 @@ class AccountBalance extends Basic{
"user_phone" => '6471', "user_phone" => '6471',
"user_id" => '111', "user_id" => '111',
);*/ );*/
if(empty($params["user_id"])){
return $this->response("101", "请求参数错误");
}
$data = $this->s_account_balance->getBalanceList($params); $data = $this->s_account_balance->getBalanceList($params);
if(count($data) <= 0){ if(count($data) <= 0){
return $this->response("200", "null"); return $this->response("200", "null");
......
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