152 changed files with 4235 additions and 494 deletions
@ -0,0 +1,116 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 授权结果记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-15 |
|||
*/ |
|||
@Data |
|||
public class AuthResultRecordDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 第三方平台AppId 第三方平台AppId |
|||
*/ |
|||
private String componentAppId; |
|||
|
|||
/** |
|||
* 微信返回创建时间 微信返回创建时间 |
|||
*/ |
|||
private Date wechatCreateTime; |
|||
|
|||
/** |
|||
* 通知类型 |
|||
*/ |
|||
private String infoType; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authorizerAppId; |
|||
|
|||
/** |
|||
* 授权码(auth_code) |
|||
*/ |
|||
private String authorizationCode; |
|||
|
|||
/** |
|||
* 授权码过期时间 |
|||
*/ |
|||
private Date expiresInTime; |
|||
|
|||
/** |
|||
* 预授权码 |
|||
*/ |
|||
private String preAuthCode; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 功能开通状况表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class BusinessInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 功能类型 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能 |
|||
*/ |
|||
private String funcType; |
|||
|
|||
/** |
|||
* 开通状态 0:未开通,1:已开通 |
|||
*/ |
|||
private Integer openStatus; |
|||
|
|||
/** |
|||
* 删除状态 0:正常,1:删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,144 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 代码审核记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-15 |
|||
*/ |
|||
@Data |
|||
public class CodeAuditRecordDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 模板ID |
|||
*/ |
|||
private String templateId; |
|||
|
|||
/** |
|||
* 客户端类型:resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
/** |
|||
* 小程序的原始 ID |
|||
*/ |
|||
private String toUserName; |
|||
|
|||
/** |
|||
* 发送方帐号(一个 OpenID,此时发送方是系统帐号) |
|||
*/ |
|||
private String fromUserName; |
|||
|
|||
/** |
|||
* 消息创建时间 (整型),时间戳 |
|||
*/ |
|||
private Date wechatCreateTime; |
|||
|
|||
/** |
|||
* 消息类型 event |
|||
*/ |
|||
private String msgType; |
|||
|
|||
/** |
|||
* 事件类型 |
|||
weapp_audit_success:审核通过, |
|||
weapp_audit_fail:审核不通过, |
|||
weapp_audit_delay:审核延后 |
|||
*/ |
|||
private String event; |
|||
|
|||
/** |
|||
* 审核成功时的时间戳 |
|||
*/ |
|||
private Date succTime; |
|||
|
|||
/** |
|||
* 审核不通过的时间戳 |
|||
*/ |
|||
private Date failTime; |
|||
|
|||
/** |
|||
* 审核延后时的时间戳 |
|||
*/ |
|||
private Date delayTime; |
|||
|
|||
/** |
|||
* 审核不通过的原因 |
|||
*/ |
|||
private String reason; |
|||
|
|||
/** |
|||
* 审核不通过的截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 |
|||
*/ |
|||
private String screenShot; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 小程序配置类目信息表 小程序配置类目信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class MiniCategoryInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类目排序 first , second |
|||
*/ |
|||
private String categorySort; |
|||
|
|||
/** |
|||
* 类目名称 资讯,文娱...... |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,121 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 小程序信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class MiniInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 小程序类型 默认为 0 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 小程序认证类型 小程序认证类型 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始 ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 账号介绍 |
|||
*/ |
|||
private String signature; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
/** |
|||
* 删除状态 0:正常,1:删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 小程序配置合法域名信息表 小程序配置合法域名信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class MiniNetworkInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类型 |
|||
*/ |
|||
private String networkType; |
|||
|
|||
/** |
|||
* 域名 RequestDomain,WsRequestDomain,UploadDomain,DownloadDomain |
|||
*/ |
|||
private String url; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,129 @@ |
|||
/** |
|||
* 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.epmet.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 公众号信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class PaInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 公众号类型 0:订阅号 |
|||
1:由历史老帐号升级后的订阅号 |
|||
2:服务号 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 公众号认证类型 -1:未认证 |
|||
0:微信认证 |
|||
1:新浪微博认证 |
|||
2:腾讯微博认证 |
|||
3:已资质认证通过但还未通过名称认证 |
|||
4:已资质认证通过、还未通过名称认证,但通过了新浪微博认证 |
|||
5:已资质认证通过、还未通过名称认证,但通过了腾讯微博认证 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 公众号所设置的微信号,可能为空 公众号所设置的微信号,可能为空 |
|||
*/ |
|||
private String alias; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
/** |
|||
* 删除状态 0:正常,1:删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,40 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/13 17:58 |
|||
*/ |
|||
@Data |
|||
public class BindingAccountFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7969402941219659678L; |
|||
|
|||
/** |
|||
* 开放平台账号ID 开放平台账号ID |
|||
*/ |
|||
private String openPlatformAccountId; |
|||
|
|||
/** |
|||
* 公众号/小程序APPID(授权方APPID) 授权方APPID |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
/** |
|||
* 客户ID 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端 居民端:resi,工作端:work |
|||
*/ |
|||
private String clientType; |
|||
|
|||
private Integer delFlag = 0; |
|||
private Integer revision = 0; |
|||
private String createdBy = "APP_USER"; |
|||
private String updatedBy = "APP_USER"; |
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/14 15:54 |
|||
*/ |
|||
@Data |
|||
public class BusinessInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 570372083578341740L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 功能类型 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能 |
|||
*/ |
|||
private String funcType; |
|||
|
|||
/** |
|||
* 开通状态 0:未开通,1:已开通 |
|||
*/ |
|||
private Integer openStatus; |
|||
|
|||
/** |
|||
* 删除状态 0:正常,1:删除 |
|||
*/ |
|||
private Integer delFlag = 0; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
} |
@ -0,0 +1,115 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/15 14:13 |
|||
*/ |
|||
@Data |
|||
public class CodeAuditRecordFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2295533266066734315L; |
|||
|
|||
/** |
|||
* ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 模板ID |
|||
*/ |
|||
private String templateId; |
|||
|
|||
/** |
|||
* 客户端类型:resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
/** |
|||
* 小程序的原始 ID |
|||
*/ |
|||
private String toUserName; |
|||
|
|||
/** |
|||
* 发送方帐号(一个 OpenID,此时发送方是系统帐号) |
|||
*/ |
|||
private String fromUserName; |
|||
|
|||
/** |
|||
* 消息创建时间 (整型),时间戳 |
|||
*/ |
|||
private Date wechatCreateTime; |
|||
|
|||
/** |
|||
* 消息类型 event |
|||
*/ |
|||
private String msgType; |
|||
|
|||
/** |
|||
* 事件类型 |
|||
weapp_audit_success:审核通过, |
|||
weapp_audit_fail:审核不通过, |
|||
weapp_audit_delay:审核延后 |
|||
*/ |
|||
private String event; |
|||
|
|||
/** |
|||
* 审核成功时的时间戳 |
|||
*/ |
|||
private Date succTime; |
|||
|
|||
/** |
|||
* 审核不通过的时间戳 |
|||
*/ |
|||
private Date failTime; |
|||
|
|||
/** |
|||
* 审核延后时的时间戳 |
|||
*/ |
|||
private Date delayTime; |
|||
|
|||
/** |
|||
* 审核不通过的原因 |
|||
*/ |
|||
private String reason; |
|||
|
|||
/** |
|||
* 审核不通过的截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 |
|||
*/ |
|||
private String screenShot; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag = 0; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/13 17:36 |
|||
*/ |
|||
@Data |
|||
public class CreateOpenFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7656834022953140875L; |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* openId 所创建的开放平台帐号的 appid |
|||
*/ |
|||
private String openid; |
|||
|
|||
/** |
|||
* 客户ID 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建者 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 修改者 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 是否已删除(0-未删除,1-已删除) |
|||
*/ |
|||
private String delFlag = "0"; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/13 10:30 |
|||
*/ |
|||
@Data |
|||
public class GoToAuthFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4171794043794295829L; |
|||
public interface GoToAuth extends CustomerClientShowGroup{} |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端 , work:工作端 |
|||
*/ |
|||
@NotBlank(message = "客户端类型不能为空",groups = {GoToAuth.class}) |
|||
private String clientType; |
|||
|
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/14 15:53 |
|||
*/ |
|||
@Data |
|||
public class MiniCategoryInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 9211011906485259736L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类目排序 first , second |
|||
*/ |
|||
private String categorySort; |
|||
|
|||
/** |
|||
* 类目名称 资讯,文娱...... |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag = 0; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
} |
@ -0,0 +1,76 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/14 15:20 |
|||
*/ |
|||
@Data |
|||
public class MiniInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2970966756786695782L; |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 小程序类型 默认为 0 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 小程序认证类型 小程序认证类型 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始 ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 账号介绍 |
|||
*/ |
|||
private String signature; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
private Integer delFlag = 0; |
|||
|
|||
private Integer revision = 0; |
|||
|
|||
private String createdBy = "APP_USER"; |
|||
|
|||
private String updatedBy = "APP_USER"; |
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/14 15:52 |
|||
*/ |
|||
@Data |
|||
public class MiniNetworkInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2171502778870475956L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类型 |
|||
*/ |
|||
private String networkType; |
|||
|
|||
/** |
|||
* 域名 RequestDomain,WsRequestDomain,UploadDomain,DownloadDomain |
|||
*/ |
|||
private String url; |
|||
|
|||
/** |
|||
* 删除状态 |
|||
*/ |
|||
private Integer delFlag = 0; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
} |
@ -0,0 +1,95 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/14 15:27 |
|||
*/ |
|||
@Data |
|||
public class PaInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2495498009170200556L; |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 公众号类型 0:订阅号 |
|||
1:由历史老帐号升级后的订阅号 |
|||
2:服务号 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 公众号认证类型 -1:未认证 |
|||
0:微信认证 |
|||
1:新浪微博认证 |
|||
2:腾讯微博认证 |
|||
3:已资质认证通过但还未通过名称认证 |
|||
4:已资质认证通过、还未通过名称认证,但通过了新浪微博认证 |
|||
5:已资质认证通过、还未通过名称认证,但通过了腾讯微博认证 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 公众号所设置的微信号,可能为空 公众号所设置的微信号,可能为空 |
|||
*/ |
|||
private String alias; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
/** |
|||
* 删除状态 0:正常,1:删除 |
|||
*/ |
|||
private Integer delFlag = 0; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision = 0; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy = "APP_USER"; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy = "APP_USER"; |
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 公众号-查询公众号注册的客户列表-接口入参 |
|||
*/ |
|||
@Data |
|||
public class RegisterInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6547893374373422628L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
/** |
|||
* 当前页 |
|||
* */ |
|||
@Min(value = 1) |
|||
private Integer pageNo = 1; |
|||
|
|||
/** |
|||
* 每页显示数量 |
|||
* */ |
|||
private Integer pageSize = 20; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/15 10:00 |
|||
*/ |
|||
@Data |
|||
public class AuthCodeResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4642988014737245076L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/13 16:17 |
|||
*/ |
|||
@Data |
|||
public class CreateOpenResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7130231978776634403L; |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 所创建的开放平台帐号的 appid |
|||
*/ |
|||
private String openAppId; |
|||
|
|||
/** |
|||
* 错误信息 |
|||
*/ |
|||
private String errMsg; |
|||
|
|||
/** |
|||
* 返回码 |
|||
* 0:ok, |
|||
* -1:system error , 系统错误 |
|||
* 40013:invalid appid , appid 无效 |
|||
* 89000:account has bound open ,该公众号/小程序 已经绑定了开放平台帐号 |
|||
*/ |
|||
private Integer errCode; |
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 公众号-查询公众号注册的客户列表-接口返参 |
|||
*/ |
|||
@Data |
|||
public class CustomerAgencyResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3253989119352850315L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId = ""; |
|||
/** |
|||
* 组织Id |
|||
*/ |
|||
private String agencyId = ""; |
|||
/** |
|||
* 组织名称 |
|||
*/ |
|||
private String agencyName = ""; |
|||
/** |
|||
* 组织级别 |
|||
*/ |
|||
private String level = ""; |
|||
/** |
|||
* 省 |
|||
*/ |
|||
private String province = ""; |
|||
/** |
|||
* 市 |
|||
*/ |
|||
private String city = ""; |
|||
/** |
|||
* 区 |
|||
*/ |
|||
private String district = ""; |
|||
/** |
|||
* 党支部数量 |
|||
*/ |
|||
private Integer partybranchnum; |
|||
/** |
|||
* 居民端授权状态(0:未授权,1:已授权) |
|||
*/ |
|||
private Integer resiAuth; |
|||
/** |
|||
* 政府端授权状态(0:未授权,1:已授权) |
|||
*/ |
|||
private Integer workAuth; |
|||
/** |
|||
* 政府端授权状态(0:未授权,1:已授权) |
|||
*/ |
|||
private Integer initState; |
|||
/** |
|||
* 注册人手机号 |
|||
*/ |
|||
private String phone; |
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/15 15:44 |
|||
*/ |
|||
@Data |
|||
public class CustomerIdAndClientResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7427184790539679353L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 |
|||
*/ |
|||
private String clientType; |
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/10 15:55 |
|||
*/ |
|||
@Data |
|||
public class GoToAuthResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -8759961913652933215L; |
|||
|
|||
/** |
|||
* 第三方AppId |
|||
*/ |
|||
@JsonIgnore |
|||
private String componentAppId; |
|||
|
|||
/** |
|||
* 预授权码 |
|||
*/ |
|||
@JsonIgnore |
|||
private String preAuthCode; |
|||
|
|||
/** |
|||
* 回调地址【获取 授权码和过期时间】 |
|||
*/ |
|||
@JsonIgnore |
|||
private String redirectUri; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@JsonIgnore |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 反参:拼好的url,包括回调地址 |
|||
*/ |
|||
private String url; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 公众号-查询公众号注册的客户列表-接口返参 |
|||
*/ |
|||
@Data |
|||
public class RegisterInfoResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3253989119352850315L; |
|||
|
|||
/** |
|||
* 总记录数 |
|||
*/ |
|||
private Integer total; |
|||
/** |
|||
* 客户组织列表 |
|||
*/ |
|||
private List<CustomerAgencyResultDTO> agencyList; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/15 15:56 |
|||
*/ |
|||
@Data |
|||
public class TemplateAndAppIdResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3875904833509300177L; |
|||
|
|||
/** |
|||
* 模板ID |
|||
*/ |
|||
private String templateId; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.constant; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/13 9:08 |
|||
*/ |
|||
public interface TencentAuthTypeConstant { |
|||
|
|||
/** |
|||
* 公众号认证类型 |
|||
*/ |
|||
String AUTH_MINUS_ONE = "未认证"; |
|||
String AUTH_ZERO = "微信认证"; |
|||
String AUTH_ONE = "新浪微博认证"; |
|||
String AUTH_TWO = "腾讯微博认证"; |
|||
String AUTH_THREE = "已资质认证通过但还未通过名称认证"; |
|||
String AUTH_FOUR = "已资质认证通过、还未通过名称认证,但通过了新浪微博认证"; |
|||
String AUTH_FIVE = "已资质认证通过、还未通过名称认证,但通过了腾讯微博认证"; |
|||
|
|||
/** |
|||
* 公众号类型 |
|||
*/ |
|||
String ZERO = "订阅号"; |
|||
String ONE = "由历史老帐号升级后的订阅号"; |
|||
String TWO = "服务号"; |
|||
|
|||
/** |
|||
* 小程序认证类型 |
|||
*/ |
|||
String MINI_AUTH_MINUS_ONE = "未认证"; |
|||
String MINI_AUTH_ZERO = "微信认证"; |
|||
|
|||
} |
@ -0,0 +1,39 @@ |
|||
package com.epmet.controller; |
|||
|
|||
import com.epmet.commons.tools.annotation.LoginUser; |
|||
import com.epmet.commons.tools.security.dto.TokenDto; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.commons.tools.validator.ValidatorUtils; |
|||
import com.epmet.dto.form.GoToAuthFormDTO; |
|||
import com.epmet.dto.result.GoToAuthResultDTO; |
|||
import com.epmet.service.AppLetAuthorizationService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/7/10 15:48 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("auth") |
|||
public class AppLetAuthorizationController { |
|||
|
|||
@Autowired |
|||
private AppLetAuthorizationService appLetAuthorizationService; |
|||
|
|||
/** |
|||
* @Description 小程序点击“去授权”的时候 |
|||
* @param tokenDto |
|||
* @author zxc |
|||
*/ |
|||
@PostMapping("gotoauth") |
|||
public Result<GoToAuthResultDTO> goToAuth(@LoginUser TokenDto tokenDto, @RequestBody GoToAuthFormDTO formDTO){ |
|||
ValidatorUtils.validateEntity(formDTO); |
|||
GoToAuthResultDTO goToAuthResultDTO = appLetAuthorizationService.goToAuth(tokenDto,formDTO); |
|||
return new Result().ok(goToAuthResultDTO); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,41 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.BindingAccountFormDTO; |
|||
import com.epmet.entity.BindingAccountEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* 公众号/小程序绑定开放平台帐号表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface BindingAccountDao extends BaseDao<BindingAccountEntity> { |
|||
|
|||
/** |
|||
* @Description 插入 公众号/小程序绑定开放平台帐号表 |
|||
* @param formDTO |
|||
* @author zxc |
|||
*/ |
|||
void insertBindingAccount(BindingAccountFormDTO formDTO); |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.BusinessInfoFormDTO; |
|||
import com.epmet.entity.BusinessInfoEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 功能开通状况表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface BusinessInfoDao extends BaseDao<BusinessInfoEntity> { |
|||
|
|||
/** |
|||
* @Description 功能开通信息插入 |
|||
* @param businessInfoList |
|||
* @author zxc |
|||
*/ |
|||
void insertBusinessInfo(@Param("businessInfoList") List<BusinessInfoFormDTO> businessInfoList); |
|||
|
|||
} |
@ -0,0 +1,41 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.CodeAuditRecordFormDTO; |
|||
import com.epmet.entity.CodeAuditRecordEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* 代码审核记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-15 |
|||
*/ |
|||
@Mapper |
|||
public interface CodeAuditRecordDao extends BaseDao<CodeAuditRecordEntity> { |
|||
|
|||
/** |
|||
* @Description 插入代码审核结果 |
|||
* @param formDTO |
|||
* @author zxc |
|||
*/ |
|||
void insertCodeAuditRecord(CodeAuditRecordFormDTO formDTO); |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.MiniCategoryInfoFormDTO; |
|||
import com.epmet.entity.MiniCategoryInfoEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 小程序配置类目信息表 小程序配置类目信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface MiniCategoryInfoDao extends BaseDao<MiniCategoryInfoEntity> { |
|||
|
|||
/** |
|||
* @Description 小程序配置的类目信息插入 |
|||
* @param miniCategoryInfoList |
|||
* @author zxc |
|||
*/ |
|||
void insertCategoryInfo(@Param("miniCategoryInfoList") List<MiniCategoryInfoFormDTO> miniCategoryInfoList); |
|||
|
|||
} |
@ -0,0 +1,50 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.MiniInfoFormDTO; |
|||
import com.epmet.dto.result.CustomerIdAndClientResultDTO; |
|||
import com.epmet.entity.MiniInfoEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
/** |
|||
* 小程序信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface MiniInfoDao extends BaseDao<MiniInfoEntity> { |
|||
|
|||
/** |
|||
* @Description 插入小程序信息 |
|||
* @param formDTO |
|||
* @author zxc |
|||
*/ |
|||
void insertMiniInfo(MiniInfoFormDTO formDTO); |
|||
|
|||
/** |
|||
* @Description 根据原始ID查询 customerId 和 clientType |
|||
* @param toUserName |
|||
* @author zxc |
|||
*/ |
|||
CustomerIdAndClientResultDTO selectCustomerIdAndClientByToUserName(@Param("toUserName")String toUserName); |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.MiniNetworkInfoFormDTO; |
|||
import com.epmet.entity.MiniNetworkInfoEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 小程序配置合法域名信息表 小程序配置合法域名信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface MiniNetworkInfoDao extends BaseDao<MiniNetworkInfoEntity> { |
|||
|
|||
/** |
|||
* @Description 小程序配置的合法域名信息插入 |
|||
* @param networkInfoList |
|||
* @author zxc |
|||
*/ |
|||
void insertNetworkInfo(@Param("networkInfoList") List<MiniNetworkInfoFormDTO> networkInfoList); |
|||
|
|||
} |
@ -0,0 +1,42 @@ |
|||
/** |
|||
* 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.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.form.PaInfoFormDTO; |
|||
import com.epmet.entity.PaInfoEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
/** |
|||
* 公众号信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-13 |
|||
*/ |
|||
@Mapper |
|||
public interface PaInfoDao extends BaseDao<PaInfoEntity> { |
|||
|
|||
/** |
|||
* @Description 公众号信息插入 |
|||
* @param formDTO |
|||
* @author zxc |
|||
*/ |
|||
void insertPaInfo(PaInfoFormDTO formDTO); |
|||
|
|||
} |
@ -0,0 +1,86 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 授权结果记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-15 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("auth_result_record") |
|||
public class AuthResultRecordEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 第三方平台AppId 第三方平台AppId |
|||
*/ |
|||
private String componentAppId; |
|||
|
|||
/** |
|||
* 微信返回创建时间 微信返回创建时间 |
|||
*/ |
|||
private Date wechatCreateTime; |
|||
|
|||
/** |
|||
* 通知类型 |
|||
*/ |
|||
private String infoType; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authorizerAppId; |
|||
|
|||
/** |
|||
* 授权码(auth_code) |
|||
*/ |
|||
private String authorizationCode; |
|||
|
|||
/** |
|||
* 授权码过期时间 |
|||
*/ |
|||
private Date expiresInTime; |
|||
|
|||
/** |
|||
* 预授权码 |
|||
*/ |
|||
private String preAuthCode; |
|||
|
|||
} |
@ -0,0 +1,66 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 功能开通状况表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("business_info") |
|||
public class BusinessInfoEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 功能类型 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能 |
|||
*/ |
|||
private String funcType; |
|||
|
|||
/** |
|||
* 开通状态 0:未开通,1:已开通 |
|||
*/ |
|||
private Integer openStatus; |
|||
|
|||
} |
@ -0,0 +1,114 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 代码审核记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-15 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("code_audit_record") |
|||
public class CodeAuditRecordEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 模板ID |
|||
*/ |
|||
private String templateId; |
|||
|
|||
/** |
|||
* 客户端类型:resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
/** |
|||
* 小程序的原始 ID |
|||
*/ |
|||
private String toUserName; |
|||
|
|||
/** |
|||
* 发送方帐号(一个 OpenID,此时发送方是系统帐号) |
|||
*/ |
|||
private String fromUserName; |
|||
|
|||
/** |
|||
* 消息创建时间 (整型),时间戳 |
|||
*/ |
|||
private Date wechatCreateTime; |
|||
|
|||
/** |
|||
* 消息类型 event |
|||
*/ |
|||
private String msgType; |
|||
|
|||
/** |
|||
* 事件类型 |
|||
weapp_audit_success:审核通过, |
|||
weapp_audit_fail:审核不通过, |
|||
weapp_audit_delay:审核延后 |
|||
*/ |
|||
private String event; |
|||
|
|||
/** |
|||
* 审核成功时的时间戳 |
|||
*/ |
|||
private Date succTime; |
|||
|
|||
/** |
|||
* 审核不通过的时间戳 |
|||
*/ |
|||
private Date failTime; |
|||
|
|||
/** |
|||
* 审核延后时的时间戳 |
|||
*/ |
|||
private Date delayTime; |
|||
|
|||
/** |
|||
* 审核不通过的原因 |
|||
*/ |
|||
private String reason; |
|||
|
|||
/** |
|||
* 审核不通过的截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 |
|||
*/ |
|||
private String screenShot; |
|||
|
|||
} |
@ -0,0 +1,66 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 小程序配置类目信息表 小程序配置类目信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("mini_category_info") |
|||
public class MiniCategoryInfoEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类目排序 first , second |
|||
*/ |
|||
private String categorySort; |
|||
|
|||
/** |
|||
* 类目名称 资讯,文娱...... |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 小程序信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("mini_info") |
|||
public class MiniInfoEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 小程序类型 默认为 0 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 小程序认证类型 小程序认证类型 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始 ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 账号介绍 |
|||
*/ |
|||
private String signature; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
} |
@ -0,0 +1,66 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 小程序配置合法域名信息表 小程序配置合法域名信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("mini_network_info") |
|||
public class MiniNetworkInfoEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 主表ID 主表ID |
|||
*/ |
|||
private String primaryId; |
|||
|
|||
/** |
|||
* 类型 |
|||
*/ |
|||
private String networkType; |
|||
|
|||
/** |
|||
* 域名 RequestDomain,WsRequestDomain,UploadDomain,DownloadDomain |
|||
*/ |
|||
private String url; |
|||
|
|||
} |
@ -0,0 +1,99 @@ |
|||
/** |
|||
* 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.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 公众号信息表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("pa_info") |
|||
public class PaInfoEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 resi:居民端,work:工作端 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickName; |
|||
|
|||
/** |
|||
* 头像 |
|||
*/ |
|||
private String headImg; |
|||
|
|||
/** |
|||
* 公众号类型 0:订阅号 |
|||
1:由历史老帐号升级后的订阅号 |
|||
2:服务号 |
|||
*/ |
|||
private String serviceTypeInfo; |
|||
|
|||
/** |
|||
* 公众号认证类型 -1:未认证 |
|||
0:微信认证 |
|||
1:新浪微博认证 |
|||
2:腾讯微博认证 |
|||
3:已资质认证通过但还未通过名称认证 |
|||
4:已资质认证通过、还未通过名称认证,但通过了新浪微博认证 |
|||
5:已资质认证通过、还未通过名称认证,但通过了腾讯微博认证 |
|||
*/ |
|||
private String verifyTypeInfo; |
|||
|
|||
/** |
|||
* 原始ID |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 主体名称 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 公众号所设置的微信号,可能为空 公众号所设置的微信号,可能为空 |
|||
*/ |
|||
private String alias; |
|||
|
|||
/** |
|||
* 二维码图片的 URL |
|||
*/ |
|||
private String qrcodeUrl; |
|||
|
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue