16 lines
525 B
Java
16 lines
525 B
Java
package com.ruoyi.jarvis.service;
|
|
|
|
import com.ruoyi.jarvis.domain.dto.WeComInboundRequest;
|
|
import com.ruoyi.jarvis.domain.dto.WeComInboundResult;
|
|
|
|
/**
|
|
* 企微文本消息业务入口(由 wxSend 通过 HTTPS + 共享密钥调用)
|
|
*/
|
|
public interface IWeComInboundService {
|
|
|
|
/**
|
|
* 长文本按企微上限拆成多段(每段 ≤2048 UTF-8 字节):首段被动回复,后续段由控制器异步调 wxSend /wecom/active-push。
|
|
*/
|
|
WeComInboundResult handleInbound(WeComInboundRequest request);
|
|
}
|