:bug:【企业微信】修复创建预约直播活动详情参数取值问题
This commit is contained in:
@@ -84,7 +84,7 @@ public interface WxCpLivingService {
|
||||
* 请求地址: https://qyapi.weixin.qq.com/cgi-bin/living/create?access_token=ACCESS_TOKEN
|
||||
*
|
||||
* @param request 创建预约直播请求参数.
|
||||
* @return
|
||||
* @return livingId(直播id)
|
||||
* @throws WxErrorException
|
||||
*/
|
||||
String livingCreate(WxCpLivingCreateRequest request) throws WxErrorException;
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
package me.chanjar.weixin.cp.bean.living;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.*;
|
||||
import lombok.experimental.Accessors;
|
||||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 创建预约直播请求.
|
||||
@@ -57,10 +55,12 @@ public class WxCpLivingCreateRequest implements Serializable {
|
||||
@SerializedName("activity_detail")
|
||||
private ActivityDetail activityDetail;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public static class ActivityDetail implements Serializable {
|
||||
|
||||
@SerializedName("image_list")
|
||||
private String[] imageList;
|
||||
private List<String> imageList;
|
||||
|
||||
@SerializedName("description")
|
||||
private String description;
|
||||
|
||||
Reference in New Issue
Block a user