TradeRule后台添加大体

This commit is contained in:
2020-05-26 22:13:14 +08:00
parent e81134b3ab
commit 6a207b50a8
8 changed files with 438 additions and 23 deletions

View File

@ -18,7 +18,7 @@ class Note extends Base
$userId = (int)session('WST_USER.userId');
if(($id = (int)input( 'id', 0)) > 0){
$detail = model("note")->field(true)
->where(["user_id"=>$userId, "id"=>$id])->select();
->where(["user_id"=>$userId, "id"=>$id])->find();
if(!$detail) return WSTReturn("该条内容已被删除",0);
return WSTReturn("OK", 1, $detail);
}