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