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", headers = { "Content-Type: application/json" } ) JSONObject getSqlShort(@JSONBody String param); }