摘要: // 一般都是 其他数据 入库成功 后 才 更新 经纬度的 //发起Http请求 $client = new Client(['timeout' => 5]); //得到URL地址 $url = config('gaode.geocode'); $city = City::findOrFail($f 阅读全文
posted @ 2020-04-26 23:14 养猪至富 阅读(166) 评论(0) 推荐(0)
摘要: public function update(Request $request, FangInfo $fangInfo) { dump($fangInfo); //表单数据 $postData = $request->except(['_token', 'file']); //没入库之前,$fang 阅读全文
posted @ 2020-04-26 22:54 养猪至富 阅读(419) 评论(0) 推荐(0)
摘要: syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting elseif (T_EL 这是因为,在blade模板里,写的代码:@if()xxxx@endif 需要在xxxx的两边 有空格 阅读全文
posted @ 2020-04-26 18:15 养猪至富 阅读(867) 评论(0) 推荐(0)