Commit cd7bf737 by 冷斌

fix bug

parent 90a892d9
...@@ -151,6 +151,11 @@ class ProfitController extends HomebaseController ...@@ -151,6 +151,11 @@ class ProfitController extends HomebaseController
public function withdrawInfo() public function withdrawInfo()
{ {
$data = $this->getInfo(); $data = $this->getInfo();
$uid=I("uid");
$user = M('users')->where("id={$uid}")->find();
$data['votes'] = $user['votes'];
$data['i_votes'] = $user['i_votes'];
$data['f_votes'] = $user['f_votes'];
echo json_encode(array("ret"=>200,'data'=>$data,'msg'=>'')); echo json_encode(array("ret"=>200,'data'=>$data,'msg'=>''));
die; die;
} }
......
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