Commit 18cdc235 authored by clone's avatar clone

bug

parent 0f75dda7
......@@ -23,8 +23,17 @@ class AccountBalance extends Basic{
public function userAccountBalanceList()
{
$params = $this->params;
$result["list"] = $this->s_account_balance->getBalanceList($params);
return $this->response("200", "success!", $result);
/* $params = array(
"create_time_start" => '2019-03-14 11:03:10',
"create_time_end" => '2019-03-15 11:03:10',
"user_phone" => '6471',
"user_id" => '111',
);*/
$data = $this->s_account_balance->getBalanceList($params);
if(count($data) <= 0){
return $this->response("200", "null");
}
return $this->response("200", "success!", $data);
}
}
\ No newline at end of file
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