Skip to content

Commit dd1146d

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent 40cfbc8 commit dd1146d

File tree

3 files changed

+0
-76
lines changed

3 files changed

+0
-76
lines changed

volc-sdk-java/src/main/java/com/volcengine/service/livesaas/LivesaasConfig.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3734,34 +3734,6 @@ public class LivesaasConfig {
37343734
}
37353735
}
37363736
));
3737-
put(Const.UpdateProductReminderInfo,new ApiInfo(
3738-
new HashMap<String, Object>() {
3739-
{
3740-
put(Const.Method, "POST");
3741-
put(Const.Path, "/");
3742-
put(Const.Query, new ArrayList<NameValuePair>() {
3743-
{
3744-
add(new BasicNameValuePair("Action",Const.UpdateProductReminderInfo));
3745-
add(new BasicNameValuePair("Version", "2023-08-01"));
3746-
}
3747-
});
3748-
}
3749-
}
3750-
));
3751-
put(Const.SendProductOrderMessage,new ApiInfo(
3752-
new HashMap<String, Object>() {
3753-
{
3754-
put(Const.Method, "POST");
3755-
put(Const.Path, "/");
3756-
put(Const.Query, new ArrayList<NameValuePair>() {
3757-
{
3758-
add(new BasicNameValuePair("Action",Const.SendProductOrderMessage));
3759-
add(new BasicNameValuePair("Version", "2023-08-01"));
3760-
}
3761-
});
3762-
}
3763-
}
3764-
));
37653737
put(Const.UpdateActivityUserBanStatus,new ApiInfo(
37663738
new HashMap<String, Object>() {
37673739
{

volc-sdk-java/src/main/java/com/volcengine/service/livesaas/LivesaasService.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,24 +2276,6 @@ public interface LivesaasService extends IBaseService {
22762276
* @throws Exception the exception
22772277
*/
22782278
BatchSendActivityRobotCommentResponse batchSendActivityRobotComment(BatchSendActivityRobotCommentRequest batchSendActivityRobotCommentRequest) throws Exception;
2279-
/**
2280-
* updateProductReminderInfo
2281-
*
2282-
* @param updateProductReminderInfoRequest UpdateProductReminderInfoRequest
2283-
* @return UpdateProductReminderInfoResponse
2284-
* @throws Exception the exception
2285-
*/
2286-
UpdateProductReminderInfoResponse updateProductReminderInfo(UpdateProductReminderInfoRequest updateProductReminderInfoRequest) throws Exception;
2287-
2288-
/**
2289-
* sendProductOrderMessage
2290-
*
2291-
* @param sendProductOrderMessageRequest SendProductOrderMessageRequest
2292-
* @return SendProductOrderMessageResponse
2293-
* @throws Exception the exception
2294-
*/
2295-
SendProductOrderMessageResponse sendProductOrderMessage(SendProductOrderMessageRequest sendProductOrderMessageRequest) throws Exception;
2296-
22972279
/**
22982280
* updateActivityUserBanStatus
22992281
*

volc-sdk-java/src/main/java/com/volcengine/service/livesaas/impl/LivesaasServiceImpl.java

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3979,36 +3979,6 @@ public GetActivityBanIpsResponse getActivityBanIps(GetActivityBanIpsRequest getA
39793979
return res;
39803980
}
39813981

3982-
@Override
3983-
public SendProductOrderMessageResponse sendProductOrderMessage(SendProductOrderMessageRequest sendProductOrderMessageRequest) throws Exception {
3984-
RawResponse response = json(Const.SendProductOrderMessage, new ArrayList<>(),JSON.toJSONString(sendProductOrderMessageRequest));
3985-
if (response.getCode() != SdkError.SUCCESS.getNumber()) {
3986-
throw response.getException();
3987-
}
3988-
SendProductOrderMessageResponse res = JSON.parseObject(response.getData(), SendProductOrderMessageResponse.class);
3989-
if (res.getResponseMetadata().getError() != null) {
3990-
ResponseMetadata meta = res.getResponseMetadata();
3991-
throw new Exception(meta.getRequestId() + "error: " + meta.getError().getMessage());
3992-
}
3993-
res.getResponseMetadata().setService("livesaas");
3994-
return res;
3995-
}
3996-
3997-
@Override
3998-
public UpdateProductReminderInfoResponse updateProductReminderInfo(UpdateProductReminderInfoRequest updateProductReminderInfoRequest) throws Exception {
3999-
RawResponse response = json(Const.UpdateProductReminderInfo, new ArrayList<>(),JSON.toJSONString(updateProductReminderInfoRequest));
4000-
if (response.getCode() != SdkError.SUCCESS.getNumber()) {
4001-
throw response.getException();
4002-
}
4003-
UpdateProductReminderInfoResponse res = JSON.parseObject(response.getData(), UpdateProductReminderInfoResponse.class);
4004-
if (res.getResponseMetadata().getError() != null) {
4005-
ResponseMetadata meta = res.getResponseMetadata();
4006-
throw new Exception(meta.getRequestId() + "error: " + meta.getError().getMessage());
4007-
}
4008-
res.getResponseMetadata().setService("livesaas");
4009-
return res;
4010-
}
4011-
40123982
@Override
40133983
public ListAreaConfigResponse listAreaConfig(ListAreaConfigRequest listAreaConfigRequest) throws Exception {
40143984
RawResponse response = query(Const.ListAreaConfig, Utils.paramsToPair(listAreaConfigRequest));

0 commit comments

Comments
 (0)