Browse Source

更新小程序接口

chenyi406 3 years ago
parent
commit
ea26eb012e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      src/main/java/com/zy/bms/entity/Admin.java
  2. 1 1
      src/main/resources/application.yml

+ 2 - 0
src/main/java/com/zy/bms/entity/Admin.java

@@ -2,6 +2,7 @@ package com.zy.bms.entity;
 
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
 
 import java.time.LocalDateTime;
@@ -14,6 +15,7 @@ import java.io.Serializable;
  * @since 2021-06-03
  */
 @Data
+@TableName("sys_admin")
 public class Admin implements Serializable {
 
     private static final long serialVersionUID = 1L;

+ 1 - 1
src/main/resources/application.yml

@@ -1,3 +1,3 @@
 spring:
   profiles:
-    active: dev
+    active: prod