Browse Source

修改精确营销管理中心前端、权限问题

JensionDzero 1 year ago
parent
commit
4b61b7f240

+ 2 - 2
pom.xml

@@ -74,7 +74,7 @@
             </properties>
             <activation>
                 <!-- 默认环境 -->
-                <activeByDefault>false</activeByDefault>
+                <activeByDefault>true</activeByDefault>
             </activation>
         </profile>
         <profile>
@@ -85,7 +85,7 @@
             </properties>
             <activation>
                 <!-- 默认环境 -->
-                <activeByDefault>true</activeByDefault>
+                <activeByDefault>false</activeByDefault>
             </activation>
         </profile>
         <profile>

+ 3 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/benyun/IUserinfoController.java

@@ -29,6 +29,7 @@ public class IUserinfoController {
      * @param openAccountVO
      * @return
      */
+    @SaIgnore
     @PostMapping("/createAdmin")
     public R createAdmin(@Validated @RequestBody OpenAccountVO openAccountVO) {
         ArrayList<Integer> integers = new ArrayList<>();
@@ -43,6 +44,7 @@ public class IUserinfoController {
      * @param openAccountVO
      * @return
      */
+    @SaIgnore
     @PostMapping("/createUser")
     public R createUser(@Validated @RequestBody OpenAccountVO openAccountVO) {
         ArrayList<Integer> integers = new ArrayList<>();
@@ -53,6 +55,7 @@ public class IUserinfoController {
     }
 
 
+    @SaIgnore
     @PostMapping("/disableUser")
     public R disableUser(@Validated @RequestBody OpenAccountVO openAccountVO) {
         iUserinfoService.disableUser(openAccountVO);

+ 1 - 1
ruoyi-ui/src/router/index.js

@@ -64,7 +64,7 @@ export const constantRoutes = [
   {
     path: '/',
     component: Layout,
-    redirect: '/wdInfo/wdinfo',//'/data/wdData',
+    redirect: '/index',//'/data/wdData',
     children: [
       {
         path: 'index',

+ 21 - 1
ruoyi-ui/src/views/index.vue

@@ -1,5 +1,19 @@
 <template>
-  <div class="app-container home">
+  <div class="app-container home" >
+    <div class="inde">
+      <el-row type="flex" justify="start">
+          <el-col>
+            <el-row><span style="padding: 20px;font-weight: bolder;font-size: 40px;color: #000;">welcome</span></el-row>
+            <el-row><span style="padding: 20px;color: #000;">欢迎登录精确营销后台管理系统</span></el-row>
+          </el-col>
+      </el-row>
+      <el-row type="flex" align="middle" justify="center" style="width: 100%;height: 800px;">
+          <el-image
+            :src="require('@/assets/img.png')"
+            style="width: 40%;"
+            :fit="fit"></el-image>
+      </el-row>
+    </div>
     <!-- <el-row :gutter="20">
       <el-col :sm="24" :lg="12" style="padding-left: 20px">
         <h2>精确营销后台管理系统 后台管理框架</h2>
@@ -115,6 +129,7 @@ export default {
     return {
       // 版本号
       version: "4.8.0",
+      fit: "fill",
     };
   },
   methods: {
@@ -127,6 +142,11 @@ export default {
 
 <style scoped lang="scss">
 .home {
+  height: 100%;
+  .inde {
+    background-color: #E5EFFF;
+    height: 100%;
+  }
   blockquote {
     padding: 10px 20px;
     margin: 0 0 20px;