diff --git a/application/api/controller/Banner.php b/application/api/controller/Banner.php index 71eead92..3d8dfc69 100644 --- a/application/api/controller/Banner.php +++ b/application/api/controller/Banner.php @@ -53,8 +53,10 @@ class Banner extends controller public function app_customer_service() { $platform_customer_service = get_system_config_value('platform_customer_service'); + $user_id = model('User')->where('user_code', $platform_customer_service)->value('id'); $reslut = [ - 'user_id' => $platform_customer_service + 'user_id' => $user_id, + 'user_name' => "客服", ]; return V(1, '成功', $reslut); }