fix bug
This commit is contained in:
@@ -86,7 +86,7 @@ class Address
|
||||
if (empty($userid)) {
|
||||
return show("请登录!",NEED_LOGIN);
|
||||
}
|
||||
if(!empty($post['id'])) {
|
||||
if(empty($post['id'])) {
|
||||
return show("参数不正确!");
|
||||
}
|
||||
$d = Db::name("app_address")->where("id",$post['id'])->find();
|
||||
|
||||
Reference in New Issue
Block a user