Commit 5a9235bc531128518d05f0ef4436dbdb596304b1

Authored by guzijian
1 parent cdcd5499

fix: 环境配置修改

ruoyi-admin/src/main/java/com/ruoyi/service/AppService.java
... ... @@ -56,7 +56,7 @@ public class AppService {
56 56  
57 57 public AjaxResult uploadApk(MultipartFile file) throws IOException {
58 58 // 校验文件
59   -// checkFile(file);
  59 + checkFile(file);
60 60 // 上传文件路径
61 61 String filePath = RuoYiConfig.getUploadPath();
62 62 // 上传并返回新文件名称
... ...
ruoyi-admin/src/main/resources/application-druid-prd.yml
... ... @@ -101,4 +101,6 @@ api:
101 101 config:
102 102 password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464
103 103 # 随机字符串
104   - nonce: adfsad
105 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 161 # 固定密码
162 162 password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464
163 163 # 随机字符串
164   - nonce: adfsad
165 164 \ No newline at end of file
  165 + nonce: adfsad
  166 + apk:
  167 + path: /apk/dev/
... ...