restructure

pull/882/head
chanhengseang 2025-05-25 17:35:14 -07:00
parent b48f7af12f
commit a47af368e5
31 changed files with 59 additions and 56 deletions

View File

@ -68,6 +68,9 @@ s3:
# File size /M # File size /M
max-size: 15 max-size: 15
qiniu:
max-size: 15
# Email verification code validity time/seconds # Email verification code validity time/seconds
code: code:
expiration: 300 expiration: 300

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import me.zhengjie.annotation.Query; import me.zhengjie.annotation.Query;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import me.zhengjie.annotation.Query; import me.zhengjie.annotation.Query;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import com.srr.enumeration.Format; import com.srr.enumeration.Format;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import com.srr.enumeration.Format; import com.srr.enumeration.Format;
import lombok.Data; import lombok.Data;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import me.zhengjie.annotation.Query; import me.zhengjie.annotation.Query;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.dto; package com.srr.dto;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.mapstruct; package com.srr.dto.mapstruct;
import me.zhengjie.base.BaseMapper; import me.zhengjie.base.BaseMapper;
import com.srr.domain.Club; import com.srr.domain.Club;
import com.srr.service.dto.ClubDto; import com.srr.dto.ClubDto;
import org.mapstruct.Mapper; import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy; import org.mapstruct.ReportingPolicy;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.mapstruct; package com.srr.dto.mapstruct;
import me.zhengjie.base.BaseMapper; import me.zhengjie.base.BaseMapper;
import com.srr.domain.Court; import com.srr.domain.Court;
import com.srr.service.dto.CourtDto; import com.srr.dto.CourtDto;
import org.mapstruct.Mapper; import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy; import org.mapstruct.ReportingPolicy;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.mapstruct; package com.srr.dto.mapstruct;
import me.zhengjie.base.BaseMapper; import me.zhengjie.base.BaseMapper;
import com.srr.domain.Event; import com.srr.domain.Event;
import com.srr.service.dto.EventDto; import com.srr.dto.EventDto;
import org.mapstruct.Mapper; import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy; import org.mapstruct.ReportingPolicy;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.mapstruct; package com.srr.dto.mapstruct;
import me.zhengjie.base.BaseMapper; import me.zhengjie.base.BaseMapper;
import com.srr.domain.Player; import com.srr.domain.Player;
import com.srr.service.dto.PlayerDto; import com.srr.dto.PlayerDto;
import org.mapstruct.Mapper; import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy; import org.mapstruct.ReportingPolicy;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.srr.service.mapstruct; package com.srr.dto.mapstruct;
import me.zhengjie.base.BaseMapper; import me.zhengjie.base.BaseMapper;
import com.srr.domain.Sport; import com.srr.domain.Sport;
import com.srr.service.dto.SportDto; import com.srr.dto.SportDto;
import org.mapstruct.Mapper; import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy; import org.mapstruct.ReportingPolicy;

View File

@ -18,7 +18,7 @@ package com.srr.rest;
import me.zhengjie.annotation.Log; import me.zhengjie.annotation.Log;
import com.srr.domain.Club; import com.srr.domain.Club;
import com.srr.service.ClubService; import com.srr.service.ClubService;
import com.srr.service.dto.ClubQueryCriteria; import com.srr.dto.ClubQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
@ -30,7 +30,7 @@ import io.swagger.annotations.*;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import me.zhengjie.utils.PageResult; import me.zhengjie.utils.PageResult;
import com.srr.service.dto.ClubDto; import com.srr.dto.ClubDto;
/** /**
* @website https://eladmin.vip * @website https://eladmin.vip

View File

@ -18,7 +18,7 @@ package com.srr.rest;
import me.zhengjie.annotation.Log; import me.zhengjie.annotation.Log;
import com.srr.domain.Court; import com.srr.domain.Court;
import com.srr.service.CourtService; import com.srr.service.CourtService;
import com.srr.service.dto.CourtQueryCriteria; import com.srr.dto.CourtQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
@ -30,7 +30,7 @@ import io.swagger.annotations.*;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import me.zhengjie.utils.PageResult; import me.zhengjie.utils.PageResult;
import com.srr.service.dto.CourtDto; import com.srr.dto.CourtDto;
/** /**
* @website https://eladmin.vip * @website https://eladmin.vip

View File

@ -18,7 +18,7 @@ package com.srr.rest;
import me.zhengjie.annotation.Log; import me.zhengjie.annotation.Log;
import com.srr.domain.Event; import com.srr.domain.Event;
import com.srr.service.EventService; import com.srr.service.EventService;
import com.srr.service.dto.EventQueryCriteria; import com.srr.dto.EventQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
@ -30,7 +30,7 @@ import io.swagger.annotations.*;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import me.zhengjie.utils.PageResult; import me.zhengjie.utils.PageResult;
import com.srr.service.dto.EventDto; import com.srr.dto.EventDto;
/** /**
* @website https://eladmin.vip * @website https://eladmin.vip

View File

@ -18,7 +18,7 @@ package com.srr.rest;
import me.zhengjie.annotation.Log; import me.zhengjie.annotation.Log;
import com.srr.domain.Player; import com.srr.domain.Player;
import com.srr.service.PlayerService; import com.srr.service.PlayerService;
import com.srr.service.dto.PlayerQueryCriteria; import com.srr.dto.PlayerQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
@ -30,7 +30,7 @@ import io.swagger.annotations.*;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import me.zhengjie.utils.PageResult; import me.zhengjie.utils.PageResult;
import com.srr.service.dto.PlayerDto; import com.srr.dto.PlayerDto;
/** /**
* @website https://eladmin.vip * @website https://eladmin.vip

View File

@ -18,7 +18,7 @@ package com.srr.rest;
import me.zhengjie.annotation.Log; import me.zhengjie.annotation.Log;
import com.srr.domain.Sport; import com.srr.domain.Sport;
import com.srr.service.SportService; import com.srr.service.SportService;
import com.srr.service.dto.SportQueryCriteria; import com.srr.dto.SportQueryCriteria;
import me.zhengjie.annotation.rest.AnonymousGetMapping; import me.zhengjie.annotation.rest.AnonymousGetMapping;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
@ -31,7 +31,7 @@ import io.swagger.annotations.*;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import me.zhengjie.utils.PageResult; import me.zhengjie.utils.PageResult;
import com.srr.service.dto.SportDto; import com.srr.dto.SportDto;
/** /**
* @website https://eladmin.vip * @website https://eladmin.vip

View File

@ -16,8 +16,8 @@
package com.srr.service; package com.srr.service;
import com.srr.domain.Club; import com.srr.domain.Club;
import com.srr.service.dto.ClubDto; import com.srr.dto.ClubDto;
import com.srr.service.dto.ClubQueryCriteria; import com.srr.dto.ClubQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import java.util.List; import java.util.List;

View File

@ -16,8 +16,8 @@
package com.srr.service; package com.srr.service;
import com.srr.domain.Court; import com.srr.domain.Court;
import com.srr.service.dto.CourtDto; import com.srr.dto.CourtDto;
import com.srr.service.dto.CourtQueryCriteria; import com.srr.dto.CourtQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import java.util.List; import java.util.List;

View File

@ -16,8 +16,8 @@
package com.srr.service; package com.srr.service;
import com.srr.domain.Event; import com.srr.domain.Event;
import com.srr.service.dto.EventDto; import com.srr.dto.EventDto;
import com.srr.service.dto.EventQueryCriteria; import com.srr.dto.EventQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import java.util.List; import java.util.List;

View File

@ -16,8 +16,8 @@
package com.srr.service; package com.srr.service;
import com.srr.domain.Player; import com.srr.domain.Player;
import com.srr.service.dto.PlayerDto; import com.srr.dto.PlayerDto;
import com.srr.service.dto.PlayerQueryCriteria; import com.srr.dto.PlayerQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import java.util.List; import java.util.List;

View File

@ -16,10 +16,10 @@
package com.srr.service; package com.srr.service;
import com.srr.domain.Sport; import com.srr.domain.Sport;
import com.srr.service.dto.SportDto; import com.srr.dto.SportDto;
import com.srr.service.dto.SportQueryCriteria; import com.srr.dto.SportQueryCriteria;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import java.util.Map;
import java.util.List; import java.util.List;
import java.io.IOException; import java.io.IOException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;

View File

@ -21,9 +21,9 @@ import me.zhengjie.utils.FileUtil;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import com.srr.repository.ClubRepository; import com.srr.repository.ClubRepository;
import com.srr.service.ClubService; import com.srr.service.ClubService;
import com.srr.service.dto.ClubDto; import com.srr.dto.ClubDto;
import com.srr.service.dto.ClubQueryCriteria; import com.srr.dto.ClubQueryCriteria;
import com.srr.service.mapstruct.ClubMapper; import com.srr.dto.mapstruct.ClubMapper;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;

View File

@ -21,9 +21,9 @@ import me.zhengjie.utils.FileUtil;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import com.srr.repository.CourtRepository; import com.srr.repository.CourtRepository;
import com.srr.service.CourtService; import com.srr.service.CourtService;
import com.srr.service.dto.CourtDto; import com.srr.dto.CourtDto;
import com.srr.service.dto.CourtQueryCriteria; import com.srr.dto.CourtQueryCriteria;
import com.srr.service.mapstruct.CourtMapper; import com.srr.dto.mapstruct.CourtMapper;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;

View File

@ -21,9 +21,9 @@ import me.zhengjie.utils.FileUtil;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import com.srr.repository.EventRepository; import com.srr.repository.EventRepository;
import com.srr.service.EventService; import com.srr.service.EventService;
import com.srr.service.dto.EventDto; import com.srr.dto.EventDto;
import com.srr.service.dto.EventQueryCriteria; import com.srr.dto.EventQueryCriteria;
import com.srr.service.mapstruct.EventMapper; import com.srr.dto.mapstruct.EventMapper;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;

View File

@ -21,9 +21,9 @@ import me.zhengjie.utils.FileUtil;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import com.srr.repository.PlayerRepository; import com.srr.repository.PlayerRepository;
import com.srr.service.PlayerService; import com.srr.service.PlayerService;
import com.srr.service.dto.PlayerDto; import com.srr.dto.PlayerDto;
import com.srr.service.dto.PlayerQueryCriteria; import com.srr.dto.PlayerQueryCriteria;
import com.srr.service.mapstruct.PlayerMapper; import com.srr.dto.mapstruct.PlayerMapper;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;

View File

@ -21,9 +21,9 @@ import me.zhengjie.utils.FileUtil;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import com.srr.repository.SportRepository; import com.srr.repository.SportRepository;
import com.srr.service.SportService; import com.srr.service.SportService;
import com.srr.service.dto.SportDto; import com.srr.dto.SportDto;
import com.srr.service.dto.SportQueryCriteria; import com.srr.dto.SportQueryCriteria;
import com.srr.service.mapstruct.SportMapper; import com.srr.dto.mapstruct.SportMapper;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;