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