package cn.edu.tju.se.base.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cn.edu.tju.se.base.service.ChineseAreaCodeTool;

@RestController
@RequestMapping(value = "/op")
public class OperatingController {
	@Autowired
	ChineseAreaCodeTool chineseAreaCodeTool;
	
	@RequestMapping(method = RequestMethod.GET,value="/cac")
	/*public List<Dict> doit(@RequestParam(value = "shop", required = false) Long shopId){
		return rr.findResourceTypeByShopId(shopId);
	}*/
	public void doit() {
		chineseAreaCodeTool.insert();
	}
}
