Browse Source

社区管理推送

master
zhangyuan 3 years ago
parent
commit
889632923d
  1. 48
      epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/constant/ManagementUrlConstant.java
  2. 47
      epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/management/form/GlobalFromDTO.java
  3. 56
      epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/management/result/GlobalResultDTO.java

48
epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/constant/ManagementUrlConstant.java

@ -0,0 +1,48 @@
package com.elink.esua.epdc.constant;
/**
* 社区管理推送接口
* 社区管理url
*
* @author zhy
* @date 2022/12/1 9:56
*/
public interface ManagementUrlConstant {
/**
* 地址放到pom里管理
*/
String BASE_URL = "";
/**
* 3.4 签名方式
*/
String SIGN = "/path/subpath";
/**
* 4.1.1 导入社区
* 4.1.2 编辑社区
*/
String COMMUNITY = "/data/import/community";
/**
* 4.1.3 导入网格
* 4.1.4 编辑网格
* 4.1.5 删除网格
*/
String GRID = "/data/import/grid";
/**
* 4.1.7 导入网格用户
* 4.1.8 编辑网格用户
* 4.1.9 删除网格用户
*/
String USER = "/data/import/gridUser";
/**
* 4.1.10 导入网格管理员
* 4.1.11 编辑网格管理员
* 4.1.12 删除网格管理员
*/
String MANAGE_USER = "/data/import/gridManageUser";
}

47
epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/management/form/GlobalFromDTO.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto.management.form;
import lombok.Data;
import java.io.Serializable;
/**
* 社区管理推送接口
* 3.1 全局参数
*
* @author zhy
* @date 2022/12/1 9:40
*/
@Data
public class GlobalFromDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 平台 key
*/
private String platformKey;
/**
* 机构 id
*/
private String orgid;
}

56
epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/management/result/GlobalResultDTO.java

@ -0,0 +1,56 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto.management.result;
import lombok.Data;
import java.io.Serializable;
/**
* 社区管理推送接口
* 3.3 统一返回值说明
*
* @author zhy
* @date 2022/12/1 9:40
*/
@Data
public class GlobalResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 数据
*/
private Object result;
/**
* 状态码 200:成功 500:失败
*/
private String code;
/**
* 提示信息
*/
private String msg;
/**
* 状态码 true:成功 false:失败
*/
private Boolean success;
}
Loading…
Cancel
Save