/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2025-03-03 11:02:52
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2025-03-10 11:09:03
 * @FilePath: /KC-MiddlePlatform/src/service/ai.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { request } from 'umi';

export const askAiReq = async (data: any) => {
  return request('/ask', {
    method: 'POST',
    data: data,
    prefix: '/ai',
  });
};
