优化头像上传

This commit is contained in:
none
2023-03-24 14:59:42 +08:00
parent 82ad3cc28a
commit 639f3065a2
12 changed files with 341 additions and 19 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="xyz.playedu.api.mapper.UserUploadImageLogMapper">
<resultMap id="BaseResultMap" type="xyz.playedu.api.domain.UserUploadImageLog">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="userId" column="user_id" jdbcType="INTEGER"/>
<result property="typed" column="typed" jdbcType="VARCHAR"/>
<result property="scene" column="scene" jdbcType="VARCHAR"/>
<result property="driver" column="driver" jdbcType="VARCHAR"/>
<result property="path" column="path" jdbcType="VARCHAR"/>
<result property="url" column="url" jdbcType="VARCHAR"/>
<result property="size" column="size" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,user_id,typed,
scene,driver,path,
url,size,name,
created_at
</sql>
</mapper>