修改参数、请求类型

main 23
hshansha 5 months ago
parent 8511cd1267
commit 746c4a8869

@ -49,9 +49,9 @@ public class KhKhrwResultController extends BaseController
/** /**
* *
*/ */
//@PreAuthorize("@ss.hasPermi('kaohe:kh_result:add')") @PreAuthorize("@ss.hasPermi('kaohe:kh_result:generate')")
@GetMapping("/generateResult") @PostMapping("/generateResult")
public AjaxResult generateResult(KhPingce pc) { //传递参数 id、pc_title、bkhdxtype public AjaxResult generateResult(@RequestBody KhPingce pc) { //传递参数 id、pc_title、bkhdxtype
JSONArray header = new JSONArray();//存放表头及表格关联数据 JSONArray header = new JSONArray();//存放表头及表格关联数据
JSONObject headerData = new JSONObject(); JSONObject headerData = new JSONObject();
headerData.put("name", null); headerData.put("name", null);

Loading…
Cancel
Save