Commit 45422639d6d1d03ebf86fe1265cf2dbb7d6d2358

Authored by 谭毅彬
1 parent 23e4a1ba

优化生产环境打包及配置

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/pom.xml
... ... @@ -68,7 +68,7 @@
68 68 <goal>npm</goal>
69 69 </goals>
70 70 <configuration>
71   - <arguments>run build_development</arguments>
  71 + <arguments>run build</arguments>
72 72 </configuration>
73 73 </execution>
74 74 </executions>
... ...
ant-design-vue-jeecg/src/components/tools/DepartSelect.vue
... ... @@ -136,14 +136,14 @@ export default {
136 136 })
137 137 },
138 138 show() {
139   - //如果组件传值username此处就不用loadDepartList了
140   - this.loadDepartList().then(() => {
141   - this.visible = true
142   - if (!this.departList || this.departList.length <= 0) {
143   - this.$message.warning("您尚未设置部门信息!")
144   - this.departClear()
145   - }
146   - })
  139 + // 如果组件传值username此处就不用loadDepartList了
  140 + // this.loadDepartList().then(() => {
  141 + // this.visible = true
  142 + // if (!this.departList || this.departList.length <= 0) {
  143 + // this.$message.warning("您尚未设置部门信息!")
  144 + // this.departClear()
  145 + // }
  146 + // })
147 147 },
148 148 departClear() {
149 149 this.departList = []
... ...
ant-design-vue-jeecg/src/components/tools/UserMenu.vue
... ... @@ -40,12 +40,12 @@
40 40 <span v-if="isDesktop()">欢迎您,{{ nickname() }}</span>
41 41 </span>
42 42 <a-menu slot="overlay" class="user-dropdown-menu-wrapper">
43   - <a-menu-item key="0">
  43 + <!-- <a-menu-item key="0">
44 44 <router-link :to="{ name: 'account-center' }">
45 45 <a-icon type="user"/>
46 46 <span>个人中心</span>
47 47 </router-link>
48   - </a-menu-item>
  48 + </a-menu-item> -->
49 49 <a-menu-item key="1">
50 50 <router-link :to="{ name: 'account-settings-base' }">
51 51 <a-icon type="setting"/>
... ... @@ -60,10 +60,10 @@
60 60 <a-icon type="setting"/>
61 61 <span>密码修改</span>
62 62 </a-menu-item>
63   - <a-menu-item key="5" @click="updateCurrentDepart">
  63 + <!-- <a-menu-item key="5" @click="updateCurrentDepart">
64 64 <a-icon type="cluster"/>
65 65 <span>切换部门</span>
66   - </a-menu-item>
  66 + </a-menu-item> -->
67 67 <a-menu-item key="6" @click="clearCache">
68 68 <a-icon type="sync"/>
69 69 <span>清理缓存</span>
... ...
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/api/acs/controller/AcsController.java
... ... @@ -42,7 +42,6 @@ public class AcsController extends HuahengBaseController {
42 42 // @ApiLogger(apiName = "API接口第三方Token校验测试", from = "TEST")
43 43 @ResponseBody
44 44 @PostMapping(value = "/testTokenCheck")
45   - @OperationLog(bizType = "'物料追踪'", tag = "'入库完成'", bizId = "#paramMap.get('bizId')", extra = "#jsonString", msg = "'测试操作日志'", recordReturnValue = true)
46 45 public Result<?> testTokenCheck(@RequestBody Map<String, String> paramMap, HttpServletRequest request) {
47 46 return Result.ok();
48 47 }
... ...
huaheng-wms-core/src/main/resources/application-prod.yml
... ... @@ -294,9 +294,9 @@ logging:
294 294 level:
295 295 org.jeecg.common: ERROR
296 296 org.jeecg.modules: ERROR
297   - org.jeecg.modules.wms: INFO
  297 + org.jeecg.modules.wms: DEBUG
298 298 org.jeecg.config.shiro: ERROR
299   - org.jeecg.utils: ERROR
  299 + org.jeecg.utils: INFO
300 300 #swagger
301 301 knife4j:
302 302 #开启增强配置
... ...
huaheng-wms-core/src/main/resources/logback-spring.xml
... ... @@ -71,10 +71,10 @@
71 71 <!-- 每天生成一个html格式的日志结束 -->
72 72  
73 73 <!--myibatis log configure -->
74   - <logger name="com.apache.ibatis" level="TRACE" />
75   - <logger name="java.sql.Connection" level="INFO" />
76   - <logger name="java.sql.Statement" level="INFO" />
77   - <logger name="java.sql.PreparedStatement" level="INFO" />
  74 +<!-- <logger name="com.apache.ibatis" level="TRACE" /> -->
  75 +<!-- <logger name="java.sql.Connection" level="DEBUG" /> -->
  76 +<!-- <logger name="java.sql.Statement" level="DEBUG" /> -->
  77 +<!-- <logger name="java.sql.PreparedStatement" level="DEBUG" /> -->
78 78  
79 79 <logger name="jdbc.connection" additivity="false" level="off">
80 80 <appender-ref ref="STDOUT" />
... ...