Commit 5a9235bc531128518d05f0ef4436dbdb596304b1
1 parent
cdcd5499
fix: 环境配置修改
Showing
3 changed files
with
7 additions
and
3 deletions
ruoyi-admin/src/main/java/com/ruoyi/service/AppService.java
| @@ -56,7 +56,7 @@ public class AppService { | @@ -56,7 +56,7 @@ public class AppService { | ||
| 56 | 56 | ||
| 57 | public AjaxResult uploadApk(MultipartFile file) throws IOException { | 57 | public AjaxResult uploadApk(MultipartFile file) throws IOException { |
| 58 | // 校验文件 | 58 | // 校验文件 |
| 59 | -// checkFile(file); | 59 | + checkFile(file); |
| 60 | // 上传文件路径 | 60 | // 上传文件路径 |
| 61 | String filePath = RuoYiConfig.getUploadPath(); | 61 | String filePath = RuoYiConfig.getUploadPath(); |
| 62 | // 上传并返回新文件名称 | 62 | // 上传并返回新文件名称 |
ruoyi-admin/src/main/resources/application-druid-prd.yml
| @@ -101,4 +101,6 @@ api: | @@ -101,4 +101,6 @@ api: | ||
| 101 | config: | 101 | config: |
| 102 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 | 102 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 |
| 103 | # 随机字符串 | 103 | # 随机字符串 |
| 104 | - nonce: adfsad | ||
| 105 | \ No newline at end of file | 104 | \ No newline at end of file |
| 105 | + nonce: adfsad | ||
| 106 | + apk: | ||
| 107 | + path: /apk/dev/ |
ruoyi-admin/src/main/resources/application-druid-uat.yml
| @@ -161,4 +161,6 @@ api: | @@ -161,4 +161,6 @@ api: | ||
| 161 | # 固定密码 | 161 | # 固定密码 |
| 162 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 | 162 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 |
| 163 | # 随机字符串 | 163 | # 随机字符串 |
| 164 | - nonce: adfsad | ||
| 165 | \ No newline at end of file | 164 | \ No newline at end of file |
| 165 | + nonce: adfsad | ||
| 166 | + apk: | ||
| 167 | + path: /apk/dev/ |