添加封装远程调用 导师二维码

This commit is contained in:
zk
2026-07-08 10:29:07 +08:00
parent ea1f71e010
commit 7f7a314d6e
2 changed files with 28 additions and 0 deletions
@@ -1,5 +1,6 @@
package org.jiayunet.remote.jsxq;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.extern.slf4j.Slf4j;
@@ -81,6 +82,23 @@ public class JsxqClient {
return get("/public/website/selectChatEvaluate", Map.of("teacherId", teacherId), type);
}
/**
* 获取二维码
* <p>POST /getQrCode</p>
*/
public Map<String, Object> getQrCode(JSONObject data) {
JavaType type = HttpTool.objectMapper.getTypeFactory()
.constructMapType(Map.class, String.class, Object.class);
return post("/getQrCode", data, type);
}
// ============================ 底层通用调用 ============================
/**