/**
 * @description  文本内容审核
 * AuditName:1600080789_1745821176_amtwGf
 * ContentType:Text|Image|Audio|Video
 * Content:需要审核的文本内容
 * ExtSender:im的id，这里对应的是用户手机号
 * ExtReceiver:接收方的信息，选填
 */
import {
	http,
	Method
} from "@/utils/request.js";

export function checkText({
	ExtSender,
	Content,
}) {
	return http.request({
		url: 'https://console.tim.qq.com/v4/im_msg_audit/content_moderation'
		method: Method.POST,
		params: {
			sdkappid: '1600080789',
			identifier: 'administrator',
			usersig: 'eJwtjEELgjAYhv-LroV9zi2n0CU6VBSRJV28jLbiK7SxjRxE-z1Tj*-zvDwfct6dore2JCc0AjLtNyrdeLxhj6WqsUHnrfQvOx6cekpjUJE8ngOAgFRkg9HBoNUd55zTTg3UY-1nKeOCJomIxwreu76BMnv4TcGXZTVrgMVMFm6795NQH8OateqK7CBbu7oYWJDvD4AYNPU_',
			random: Math.floor(Math.random() * (4294967295 + 1)),
			contenttype: 'json'
		},
		data: {
			AuditName: '1600080789_1745821176_amtwGf'
			ContentType: 'Text',
			Content,
			ExtSender
		}
	});
}