@Controller
@RequestMapping(value="rest/common")
public class ToolsRESTController
extends java.lang.Object
| Constructor and Description |
|---|
ToolsRESTController() |
| Modifier and Type | Method and Description |
|---|---|
com.mbap.util.view.R |
getDictItems(Common common)
获取字典信息
|
com.mbap.util.view.R |
getPinYin(java.lang.String str)
根据字段生成拼音
|
com.mbap.util.view.R |
tableExist(java.lang.String tableName)
查询表是否存在
|
@ResponseBody
@RequestMapping(value="/getDictItems",
method=GET,
name="\u83b7\u53d6\u5b57\u5178\u4fe1\u606f")
public com.mbap.util.view.R getDictItems(Common common)
common - @ResponseBody
@RequestMapping(value="/getPinYin",
method=GET,
name="\u6839\u636e\u6c49\u5b57\u751f\u6210\u62fc\u97f3")
public com.mbap.util.view.R getPinYin(@RequestParam(value="str")
java.lang.String str)
str - @ResponseBody
@RequestMapping(value="/tableExist",
method=GET,
name="\u67e5\u8be2\u8868\u662f\u5426\u5b58\u5728")
public com.mbap.util.view.R tableExist(@RequestParam(value="tableName")
java.lang.String tableName)