新增 微信第三方平台 授权回调接口

This commit is contained in:
Lemon
2023-08-02 10:13:48 +08:00
parent 8bedb86374
commit 1065a81db7
4 changed files with 90 additions and 19 deletions

View File

@@ -0,0 +1,22 @@
package com.jsowell.pile.domain.agentDev;
import lombok.Data;
/**
* ext.json配置文件对象
*
* @author Lemon
* @Date 2023/8/2 10:09
*/
@Data
public class ExtJson {
/**
* 配置 ext.json 是否生效
*/
private boolean extEnable;
/**
* 配置 extAppid
*/
private String extAppid;
}

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.dto.agentDev;
import com.alibaba.fastjson2.annotation.JSONField;
import com.jsowell.pile.domain.agentDev.ExtJson;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -27,13 +28,13 @@ public class CommitCodeDTO {
* 代码库中的代码模板 ID可通过getTemplateList接口获取代码模板template_id。
*/
// @JSONField(name = "template_id")
private String templateId;
private long templateId;
/**
* 为了方便第三方平台的开发者引入 extAppid 的开发调试工作引入ext.json配置文件概念该参数则是用于控制ext.json配置文件的内容。
*/
// @JSONField(name = "ext_json")
private String extJson;
private ExtJson extJson;
/**
* 代码版本号,开发者可自定义(长度不要超过 64 个字符)