parent
9bab783d76
commit
0e838c192f
5 changed files with 84 additions and 9 deletions
@ -0,0 +1,21 @@ |
||||
package com.teaching.backend.controller.system; |
||||
|
||||
import com.teaching.backend.common.CommonResult; |
||||
import com.teaching.backend.model.vo.report.BrowseReportVO; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
@RestController |
||||
@Api(tags = "系统设置接口") |
||||
@RequestMapping("/api/system") |
||||
@Slf4j |
||||
public class SystemController { |
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,54 @@ |
||||
package com.teaching.backend.model.entity.system; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.LocalDateTime; |
||||
|
||||
@Data |
||||
@TableName("system_setting") |
||||
public class SystemSetting implements Serializable { |
||||
|
||||
//主键
|
||||
@TableId(type = IdType.AUTO) |
||||
private Long id; |
||||
|
||||
//系统名称
|
||||
private String name; |
||||
|
||||
//LOGO
|
||||
private String logo; |
||||
|
||||
//宣传图片
|
||||
private String promotionalImages; |
||||
|
||||
//登录地址
|
||||
private String loginAddress; |
||||
|
||||
//标题
|
||||
private String title; |
||||
|
||||
//版权信息
|
||||
private String copyrightInformation; |
||||
|
||||
//备案号
|
||||
private String recordNumber; |
||||
|
||||
//QQ
|
||||
private String qqNumber; |
||||
|
||||
//邮箱
|
||||
private String mailbox; |
||||
|
||||
//手机号
|
||||
private String phone; |
||||
|
||||
//地址
|
||||
private String address; |
||||
|
||||
//二维码
|
||||
private String qrCode; |
||||
} |
Loading…
Reference in new issue