...
|
...
|
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
/**
|
|
|
* Created by chenchao on 2018/9/13.
|
...
|
...
|
@@ -34,6 +35,7 @@ public class SellerOrderController { |
|
|
* @throws GatewayException
|
|
|
*/
|
|
|
@RequestMapping(params = "method=ufo.sellerOrder.computePublishPrd")
|
|
|
@ResponseBody
|
|
|
public ApiResponse computePublishPrd(@RequestParam(name = "uid", required = true)int uid,
|
|
|
@RequestParam(name = "storage_id", required = true)int storage_id,
|
|
|
@RequestParam(name="price", required = true)String price) throws GatewayException {
|
...
|
...
|
@@ -58,6 +60,7 @@ public class SellerOrderController { |
|
|
* @throws GatewayException
|
|
|
*/
|
|
|
@RequestMapping(params = "method=ufo.sellerOrder.publishPrd")
|
|
|
@ResponseBody
|
|
|
public ApiResponse publishPrd(@RequestParam(name = "uid", required = true)int uid,
|
|
|
@RequestParam(name = "storage_id", required = true)int storage_id,
|
|
|
@RequestParam(name="price", required = true)String price,
|
...
|
...
|
|