村民信息收集
This commit is contained in:
parent
d33b09780d
commit
6059c562da
|
@ -842,7 +842,7 @@ class IndexController extends BaseApiController
|
|||
public function getVillagerInfo()
|
||||
{
|
||||
$shopUserId = $this->request->get('shop_user_id');
|
||||
$detail = Db::name('villager_information')->where('shop_user_id', $shopUserId)->find();
|
||||
$detail = Db::name('villager_information')->where('shop_user_id', $shopUserId)->findOrEmpty();
|
||||
return $this->success('成功', $detail);
|
||||
}
|
||||
public function editVillagerInfo()
|
||||
|
|
Loading…
Reference in New Issue