Browse Source

Merge branch 'test' into dev-lqc

lqc 4 years ago
parent
commit
a5ebe182cc

+ 4 - 4
src/main/java/com/mokamrp/privates/controller/pangu/FosterwxCashOasBoxController.java

@@ -165,17 +165,17 @@ public class FosterwxCashOasBoxController extends BaseController<FosterwxCashOas
     @PostMapping("/import")
     public Object uploadFile(@RequestBody MultipartFile file, @AuthUser User authUser) {
         Map<String, Object> map = new HashMap<>(16);
-        Map<Integer, String> feild = new HashMap<>(5);
+        Map<Integer, String> feild = new HashMap<>();
         feild.put(0, "stationName");
         feild.put(1, "groupId");
         feild.put(2, "mobileGroupId");
         feild.put(3, "type");
-        feild.put(4, "boxType|defualt");
-        feild.put(5, "boxLocation|defualt");
+        feild.put(4, "boxType|default");
+        feild.put(5, "boxLocation|default");
         feild.put(6, "ghId");
         feild.put(7, "name");
         feild.put(8, "scope");
-        feild.put(9, "remark|defualt");
+        feild.put(9, "remark|default");
         List<Map<String, String>> row = new ArrayList<>();
         VoltaHandle<ArrayList<Map<String, String>>> voltaRes = Analysis.analysis(file, feild);
         if (voltaRes.getErr() != null) {

BIN
src/main/resources/static/盘古变现公众号小程序账号导入.xls