修改文件crmeb/app/api/controller/v1/user/UserAddressController.php
public function address(Request $request, $id)
{
uid = (int)request->uid();
if (!$id) {
return app('json')->fail(100100);
}
$info = this-\>services-\>address((int)id);
if ($info['uid'] != $uid) return app('json')->fail(100026);
return app('json')->success($info);
}
修改成截图内容