|
|
@@ -29,11 +29,7 @@ import com.java110.utils.util.Assert;
|
|
|
import com.java110.utils.util.BeanConvertUtil;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
|
* 商户订单
|
|
|
@@ -313,11 +309,15 @@ public class StoreOrderApi {
|
|
|
*/
|
|
|
@RequestMapping(value = "/queryStoreOrderCart", method = RequestMethod.GET)
|
|
|
public ResponseEntity<String> queryStoreOrderCart(
|
|
|
+ @RequestHeader(value = "store-id", required = false) String storeId,
|
|
|
+ @RequestParam(value = "personId", required = false) String personId,
|
|
|
@RequestParam(value = "page") int page,
|
|
|
@RequestParam(value = "row") int row) {
|
|
|
StoreOrderCartDto storeOrderCartDto = new StoreOrderCartDto();
|
|
|
storeOrderCartDto.setPage(page);
|
|
|
storeOrderCartDto.setRow(row);
|
|
|
+ storeOrderCartDto.setStoreId(storeId);
|
|
|
+ storeOrderCartDto.setPersonId(personId);
|
|
|
return getStoreOrderCartBMOImpl.get(storeOrderCartDto);
|
|
|
}
|
|
|
|