Commit 1741ae2b by 冷斌

fix bug

parent 19813146
...@@ -102,6 +102,8 @@ class DynamicController extends AdminbaseController ...@@ -102,6 +102,8 @@ class DynamicController extends AdminbaseController
{ {
$id = intval(I("get.id")); $id = intval(I("get.id"));
$report = M("users_report_dynamic")->where("id=$id")->find(); $report = M("users_report_dynamic")->where("id=$id")->find();
var_dump($report);
die;
$dynamic = $this->dynamic_model->where("id={$report['dynamic_id']}")->find(); $dynamic = $this->dynamic_model->where("id={$report['dynamic_id']}")->find();
$userinfo = getUserInfo($report['uid']); $userinfo = getUserInfo($report['uid']);
$userinfo2 = getUserInfo($dynamic['uid']); $userinfo2 = getUserInfo($dynamic['uid']);
......
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