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

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.controller;
import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import org.jiayunet.remote.jsxq.JsxqClient;
import org.jiayunet.remote.jsxq.pojo.JsxqPage;
@@ -12,6 +13,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
/**
* 导师接口(对接简史星球开放平台,公开免鉴权)
@@ -58,4 +60,12 @@ public class MentorController {
public List<ChatEvaluateDto> selectChatEvaluate(@RequestParam Long teacherId) {
return jsxqClient.selectChatEvaluate(teacherId);
}
/**
* 获取二维码
*/
@PostMapping("/getQrCode")
public Map<String, Object> getQrCode(@RequestBody JSONObject data) {
return jsxqClient.getQrCode(data);
}
}