package com.neusoft.smart.pos.trade.controller;


import com.neusoft.smart.pos.dto.trade.response.GetDiningRoomResponse;
import com.neusoft.smart.pos.framework.dto.ResponseData;
import com.neusoft.smart.pos.trade.service.DiningRoomService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "商户餐厅管理使用rest接口", description = "商户餐厅管理使用rest接口")
@RestController
@RequestMapping(path = "/diningRoom")
@Validated
public class DiningRoomController {

	@Autowired
	private DiningRoomService diningRoomService;
	
//	@ApiOperation(value = "交易商户餐厅列表信息查询使用接口", notes = "未使用gateway,ota web未使用")
//	@GetMapping("/diningRooms")
//	public ResponseData<GetDiningRoomResponse> queryDiningRoomList(
//			@RequestParam(value="mcode",defaultValue = "") String mcode
//			,@RequestParam(value="sign",defaultValue = "") String sign) {
//		return new ResponseData<>(diningRoomService.queryDiningRoomList(mcode,sign));
//	}
}
	