Jelajahi Sumber

HTTP地址更新

hejq 8 tahun lalu
induk
melakukan
0b5e003ed8

+ 1 - 3
src/main/java/com/uas/platform/home/controller/FinanceController.java

@@ -8,8 +8,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
-import java.util.Map;
-
 /**
  * created by shicr on 2017/11/23
  **/
@@ -27,7 +25,7 @@ public class FinanceController {
             url = url + "?UID=" + Long.parseLong(SystemSession.getUser().getDialectUID());
         }
         try {
-           HttpUtil.Response response =  HttpUtil.doPost(url + "?UID=" + "", jsonStr, 5000);
+           HttpUtil.Response response =  HttpUtil.doPost(url, jsonStr, 5000);
            if(200 == response.getStatusCode())
                return "success";
         } catch (Exception e) {