package com.liangjian.dataplatform.member.controller;


import com.liangjian.dataplatform.member.service.IMemOrderproductsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/MemOrderproducts")
public class MemOrderproductsController {

    @Autowired
    private IMemOrderproductsService memOrderproductsService;

    @PostMapping("/ProductsListByOderCode")
    public Map<String, Object> ProductsListByOderCode(@RequestBody Map<String, Object> query) {

        return memOrderproductsService.ProductsListByOderCode(query);
    }


}
