村民信息收集
This commit is contained in:
parent
718d0d0d06
commit
d33b09780d
|
@ -41,7 +41,7 @@ class IndexController extends BaseApiController
|
|||
{
|
||||
public array $notNeedLogin = ['index', 'config', 'policy', 'decorate', 'notifyUrl', 'notifyProperty',
|
||||
'notifyAuthentication', 'notifyVehicleContractUpdate','townCarRent','systemCarRent', 'selfCarRent',
|
||||
'cancelRent', 'buyCar', 'vehicleCarList', 'addVillagerInfo'];
|
||||
'cancelRent', 'buyCar', 'vehicleCarList', 'addVillagerInfo', 'getVillagerInfo', 'editVillagerInfo'];
|
||||
|
||||
/**
|
||||
* @notes 首页数据
|
||||
|
@ -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)->findOrEmpty();
|
||||
$detail = Db::name('villager_information')->where('shop_user_id', $shopUserId)->find();
|
||||
return $this->success('成功', $detail);
|
||||
}
|
||||
public function editVillagerInfo()
|
||||
|
|
Loading…
Reference in New Issue