This commit is contained in:
knowpia
2022-09-15 13:50:43 +08:00
parent 35dfbafe03
commit a08aa70cc8

View File

@@ -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']){