guang
2023-05-05 566411019444e53ca143298ee490d33cf510e28c
提交 | 用户 | age
9e1c8d 1 package com.hx.other.service.api.ai;
G 2
3 import com.alibaba.fastjson.JSONObject;
4 import com.dtflys.forest.annotation.JSONBody;
5 import com.dtflys.forest.annotation.Post;
6
7 public interface SqlAiApi {
8
9     @Post(
10             url = "http://chatgpt.phiskin.com/chat/msg",
11             headers = {
12                     "Content-Type: application/json"
13             }
14     )
15     JSONObject getSql(@JSONBody String param);
16
17     @Post(
566411 18             url = "http://chatgpt.phiskin.com/chat/msg/short/ai",
9e1c8d 19             headers = {
G 20                     "Content-Type: application/json"
21             }
22     )
23     JSONObject getSqlShort(@JSONBody String param);
24 }