查询字段补充
This commit is contained in:
@@ -138,7 +138,7 @@ class CustomerController
|
|||||||
return Util::fail([], 'id' . trans('not_null'));
|
return Util::fail([], 'id' . trans('not_null'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$res = Customer::select('id', 'user_id', 'grade', 'channel_id', 'car_type_id', 'country_id', 'magnitude', 'email', 'phone', 'WhatsApp', 'contacts', 'describe', 'sex')
|
$res = Customer::select('id', 'user_id', 'grade', 'channel_id', 'car_type_id', 'country_id', 'magnitude', 'email', 'phone', 'WhatsApp', 'contacts', 'describe', 'address', 'lat', 'lng', 'follow_next', 'follow_remark', 'sex')
|
||||||
->where('id', $id)
|
->where('id', $id)
|
||||||
->first();
|
->first();
|
||||||
if ($res) {
|
if ($res) {
|
||||||
|
|||||||
Reference in New Issue
Block a user