Skip to content

Commit

Permalink
通义chat待办
Browse files Browse the repository at this point in the history
  • Loading branch information
lxy01128250 committed Dec 15, 2023
1 parent 3ab4464 commit 0b72bc3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/beauty/aide/adaptor/TongYiAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
@Component
public class TongYiAdaptor implements InitializingBean {

@Value("aliyun.cloud.accesskey")
@Value("${aliyun.cloud.adminAk}")
private String adminAk;
@Value("aliyun.cloud.accesskey.secret")
@Value("${aliyun.cloud.adminSk}")
private String adminSk;
@Value("aliyun.tongyi.agentKey")
@Value("${aliyun.tongyi.agentKey}")
private String agentKey;
@Value("aliyun.tongyi.appId")
@Value("${aliyun.tongyi.appId}")
private String appId;
private ApplicationClient client;

Expand Down
21 changes: 21 additions & 0 deletions src/main/java/com/beauty/aide/controller/ChatController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.beauty.aide.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @author xiaoliu
*/
@RestController
@RequestMapping("/chat")
@Slf4j
public class ChatController {

// @TODO 发送问题

// @TODO 查看我的问题

// @TODO 清除问题记录

}

0 comments on commit 0b72bc3

Please sign in to comment.