格式修改
This commit is contained in:
parent
76f155b967
commit
387c3d512f
@ -1,16 +1,16 @@
|
|||||||
package org.example.entity;
|
package org.example.entity;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@TableName("message_back_data")
|
@TableName("message_back_data")
|
||||||
public class TaskMessageBackEntity {
|
public class TaskMessageBackEntity extends Model<TaskMessageBackEntity> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主键
|
* 主键
|
||||||
@ -21,7 +21,7 @@ public class TaskMessageBackEntity {
|
|||||||
/**
|
/**
|
||||||
* 回调数据
|
* 回调数据
|
||||||
*/
|
*/
|
||||||
private JSONArray messageBackData;
|
private String messageBackData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 已读状态,0:未读,1:已读
|
* 已读状态,0:未读,1:已读
|
||||||
|
|||||||
@ -21,7 +21,7 @@ public class TaskMessageBackServiceImpl extends ServiceImpl<TaskMessageBackMappe
|
|||||||
@Override
|
@Override
|
||||||
public JSONObject taskMessageBack(JSONArray array) {
|
public JSONObject taskMessageBack(JSONArray array) {
|
||||||
TaskMessageBackEntity taskMessageBackEntity = new TaskMessageBackEntity();
|
TaskMessageBackEntity taskMessageBackEntity = new TaskMessageBackEntity();
|
||||||
taskMessageBackEntity.setMessageBackData(array);
|
taskMessageBackEntity.setMessageBackData(array.toString());
|
||||||
taskMessageBackEntity.setReadState(0);
|
taskMessageBackEntity.setReadState(0);
|
||||||
taskMessageBackEntity.setCreateDate(new Date());
|
taskMessageBackEntity.setCreateDate(new Date());
|
||||||
taskMessageBackMapper.insert(taskMessageBackEntity);
|
taskMessageBackMapper.insert(taskMessageBackEntity);
|
||||||
|
|||||||
@ -68,20 +68,20 @@ conf:
|
|||||||
# 允许上传的文件后缀
|
# 允许上传的文件后缀
|
||||||
allow-extensions: jpg,jpeg,png
|
allow-extensions: jpg,jpeg,png
|
||||||
folder:
|
folder:
|
||||||
# 身份证正面存储文件夹名称
|
# 身份证正面存储文件夹名称
|
||||||
card_front_url: cardfront/
|
card_front_url: cardfront/
|
||||||
# 身份证背面存储文件夹名称
|
# 身份证背面存储文件夹名称
|
||||||
card_back_url: cardback/
|
card_back_url: cardback/
|
||||||
# 身份证正反面复印件
|
# 身份证正反面复印件
|
||||||
card_copy_url: cardcopy/
|
card_copy_url: cardcopy/
|
||||||
# 证件照
|
# 证件照
|
||||||
photo_url: photo/
|
photo_url: photo/
|
||||||
# 学历证明
|
# 学历证明
|
||||||
certificate_url: certificate/
|
certificate_url: certificate/
|
||||||
# 体检报告
|
# 体检报告
|
||||||
physical_report_url: physicalreport/
|
physical_report_url: physicalreport/
|
||||||
# 签名图片
|
# 签名图片
|
||||||
sign_picture_url: signpicture/
|
sign_picture_url: signpicture/
|
||||||
|
|
||||||
# 开启文档
|
# 开启文档
|
||||||
swagger:
|
swagger:
|
||||||
|
|||||||
@ -2,7 +2,7 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: aiobcallback
|
name: aiobcallback
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
main:
|
main:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
jackson:
|
jackson:
|
||||||
@ -24,8 +24,8 @@ spring:
|
|||||||
server:
|
server:
|
||||||
port: 8105
|
port: 8105
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
# 启用服务端压缩
|
# 启用服务端压缩
|
||||||
compression:
|
compression:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user