Selaa lähdekoodia

注释不用的代码

hulh 8 vuotta sitten
vanhempi
commit
356d1b51f0

+ 10 - 9
src/main/java/com/uas/platform/b2c/trade/order/controller/PurchaseController.java

@@ -600,14 +600,15 @@ public class PurchaseController {
 		return purchaseService.findOrderIdByPuId(purchaseId);
 	}
 
-	@RequestMapping(value = "/logistics")
-	public Logistics findOneLogistics(){
-		return null;
-	}
+//	@RequestMapping(value = "/logistics")
+//	public Logistics findOneLogistics(){
+//		return null;
+//	}
+//
+//	@RequestMapping(value = "/modifyLogistics", method = RequestMethod.PUT)
+//	public Logistics updateLogistics(Long id){
+//		System.out.println("id=" + id);
+//		return null;
+//	}
 
-	@RequestMapping(value = "/modifyLogistics", method = RequestMethod.PUT)
-	public Logistics updateLogistics(Long id){
-		System.out.println("id=" + id);
-		return null;
-	}
 }

+ 0 - 4
src/main/webapp/resources/js/common/query/purchase.js

@@ -227,10 +227,6 @@ define([ 'ngResource' ], function() {
 			getPurchaseByOrder : {
 				url : 'trade/purchase/orderid/:orderid',
 				method : 'GET'
-			},
-			modifyPurchaseLogistics : {
-				url : 'trade/purchase/modifyLogistics',
-				method : 'PUT'
 			}
 		});
 	}]);