Commit c1029b8e authored by shajiaiming's avatar shajiaiming

fix

parent dd8ee783
...@@ -195,6 +195,6 @@ class RecommendCoinController extends BaseController ...@@ -195,6 +195,6 @@ class RecommendCoinController extends BaseController
} }
$this->data = $coin_trusteeship; $this->data = $coin_trusteeship;
doEnd : doEnd :
return ['code' => $this->code, 'data' => $this->data, 'msg' => $this->msg, 'count' => count($this->data)]; return ['code' => $this->code, 'data' => $this->data, 'msg' => $this->msg, 'count' => empty($this->data) ? 0 : count($this->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