You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
573 B
18 lines
573 B
// DataDictController.java
|
|
package com.ssm.controller;
|
|
import com.ssm.entity.DataDict;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
@Controller
|
|
public class DataDictController {
|
|
@RequestMapping("/submitDataDict")
|
|
public String handleDataDict(DataDict dataDict) {
|
|
System.out.println("新增字典项: "
|
|
+ "键=" + dataDict.getKey()
|
|
+ ", 值=" + dataDict.getValue()
|
|
+ ", 类型=" + dataDict.getType());
|
|
return "showDataDict";
|
|
}
|
|
}
|