|
|
@@ -21,7 +21,8 @@ import { BalanceService } from '../balance/balance.service'
|
|
|
|
|
|
@Controller('phone-list')
|
|
|
export class PhoneListController {
|
|
|
- constructor(private readonly phoneListService: PhoneListService, private readonly balanceService: BalanceService) {}
|
|
|
+ constructor(private readonly phoneListService: PhoneListService, private readonly balanceService: BalanceService) {
|
|
|
+ }
|
|
|
|
|
|
@Post('/')
|
|
|
async findAllPhoneList(@Req() req, @Body() page: PageRequest<PhoneList>) {
|
|
|
@@ -108,8 +109,8 @@ export class PhoneListController {
|
|
|
phones = finalPhones
|
|
|
}
|
|
|
} catch (e) {
|
|
|
- console.log('Screen phone number error:', e)
|
|
|
- throw new InternalServerErrorException('筛号失败,请联系管理员.', e)
|
|
|
+ console.log('Screen phone number platform error:', e.message)
|
|
|
+ throw new InternalServerErrorException(e.message)
|
|
|
}
|
|
|
}
|
|
|
|