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