Commit 70ccbe89 by 冷斌

踢人

parent e49da525
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
</fieldset> </fieldset>
<div class="form-actions"> <div class="form-actions">
<a class="btn" href="{:U('dynamic/report')}">{:L('BACK')}</a> <a class="btn" href="{:U('dynamic/index')}">{:L('BACK')}</a>
</div> </div>
</form> </form>
</div> </div>
......
...@@ -101,7 +101,10 @@ class DynamicController extends AdminbaseController ...@@ -101,7 +101,10 @@ class DynamicController extends AdminbaseController
public function edit() public function edit()
{ {
$id = intval(I("get.id")); $id = intval(I("get.id"));
$model = $this->dynamic_model->where(['id' => $id])->order("addtime DESC")->find();
var_dump($model);
die;
$this->display(); $this->display();
} }
......
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