|
@@ -7,6 +7,7 @@ export class TencentCloudController {
|
|
|
constructor(private readonly tencentCloudService: TencentCloudService) {}
|
|
|
|
|
|
@Post('chat')
|
|
|
+ @Header('Access-Control-Allow-Origin', '*')
|
|
|
@Header('Content-type', 'application/json')
|
|
|
@HttpCode(200)
|
|
|
async chat(@Body() { ctx, chat }) {
|