org.ccs.openim.service.api.OpenImApiThirdService Maven / Gradle / Ivy
package org.ccs.openim.service.api;
import org.ccs.openim.api.OpenImApiThirdRest;
import org.ccs.openim.api.third.req.*;
import org.ccs.openim.api.third.resp.*;
import org.ccs.openim.base.OpenImResult;
import org.ccs.openim.base.OpenImToken;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
public class OpenImApiThirdService {
private OpenImApiThirdRest openImApiThirdRest = new OpenImApiThirdRest();
/**
* fcmUpdateToken
* routePath=/third/fcm_update_token
*
* @param req
* @return
*/
public OpenImResult fcmUpdateToken(OpenImToken openImToken, FcmUpdateTokenReq req) {
return openImApiThirdRest.fcmUpdateToken(openImToken, req);
}
/**
* setAppBadge
* routePath=/third/set_app_badge
*
* @param req
* @return
*/
public OpenImResult setAppBadge(OpenImToken openImToken, SetAppBadgeReq req) {
return openImApiThirdRest.setAppBadge(openImToken, req);
}
/**
* routePath=/third/object/part_limit
*
* @param req
* @return
*/
public OpenImResult partLimit(OpenImToken openImToken, PartLimitReq req) {
return openImApiThirdRest.partLimit(openImToken, req);
}
/**
* routePath=/third/object/part_size
*
* @param req
* @return
*/
public OpenImResult partSize(OpenImToken openImToken, PartSizeReq req) {
return openImApiThirdRest.partSize(openImToken, req);
}
/**
* initiateMultipartUpload
* routePath=/third/object/initiate_multipart_upload
*
* @param req
* @return
*/
public OpenImResult initiateMultipartUpload(OpenImToken openImToken, InitiateMultipartUploadReq req) {
return openImApiThirdRest.initiateMultipartUpload(openImToken, req);
}
/**
* completeMultipartUpload
* routePath=/third/object/complete_multipart_upload
*
* @param req
* @return
*/
public OpenImResult completeMultipartUpload(OpenImToken openImToken, CompleteMultipartUploadReq req) {
return openImApiThirdRest.completeMultipartUpload(openImToken, req);
}
/**
* accessURL
* routePath=/third/object/access_url
*
* @param req
* @return
*/
public OpenImResult accessURL(OpenImToken openImToken, AccessURLReq req) {
return openImApiThirdRest.accessURL(openImToken, req);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy