All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ccs.openim.service.chat.OpenImChatOtherService Maven / Gradle / Ivy

There is a newer version: 0.7-nospring
Show newest version
package org.ccs.openim.service.chat;


import org.ccs.openim.admin.clientconfig.resp.GetClientConfigResp;
import org.ccs.openim.base.OpenImResult;
import org.ccs.openim.base.OpenImToken;
import org.ccs.openim.chat.OpenImChatOtherRest;
import org.ccs.openim.chat.req.FindAppletReq;
import org.ccs.openim.chat.req.GetClientConfigReq;
import org.ccs.openim.chat.req.OpenIMCallbackReq;
import org.ccs.openim.chat.resp.FindAppletResp;


public class OpenImChatOtherService {
    private OpenImChatOtherRest openImChatOtherRest = new OpenImChatOtherRest();


    /**
     * 小程序列表
     * routePath=/applet/find
     *
     * @param req
     * @return
     */
    public OpenImResult appletFind(OpenImToken openImToken, FindAppletReq req) {
        return openImChatOtherRest.appletFind(openImToken, req);
    }

    /**
     * 获取客户端初始化配置
     * routePath=/client_config/get
     *
     * @param req
     * @return
     */
    public OpenImResult getClientConfig(OpenImToken openImToken, GetClientConfigReq req) {
        return openImChatOtherRest.getClientConfig(openImToken, req);
    }

    /**
     * routePath=/callback/open_im
     *
     * @param req
     * @return
     */
    public OpenImResult callbackOpenIm(OpenImToken openImToken, OpenIMCallbackReq req) {
        return openImChatOtherRest.callbackOpenIm(openImToken, req);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy