1 创建数据表
2 使用若依进行代码生成
3 打通前后端
3.1 controller
MalwareDynamicController.java:
1 2 3 4 5 6 7 8 9 10 11 @PreAuthorize ("@ss.hasPermi('system:dynamic:listmid')" )@GetMapping (value = "/list/{mid}" )public TableDataInfo listByMid (MalwareDynamic malwareDynamic, @PathVariable("mid" ) Long mid) { startPage(); List<MalwareDynamic> list = malwareDynamicService.selectMalwareDynamicListByMid(malwareDynamic, mid); return getDataTable(list); }
3.2 service
IMalwareDynamicService.java:
1 2 3 4 5 6 7 public List<MalwareDynamic> selectMalwareDynamicListByMid (MalwareDynamic malwareDynamic, Long mid) ;
MalwareDynamicServiceImpl.java:
1 2 3 4 5 6 7 8 9 10 11 @Override public List<MalwareDynamic> selectMalwareDynamicListByMid (MalwareDynamic malwareDynamic, Long mid) ;{ return malwareDynamicMapper.selectMalwareDynamicListByMid(malwareDynamic, mid); }
3.3 mapper
MalwareDynamicMapper.java:
1 2 3 4 5 6 7 public List<Behavior> selectBehaviorList (Behavior behavior) ;
3.4 MalwareDynamicMapper.xml
MalwareDynamicMapper.xml:
3.5 index.vue
3.6 report.js
1 2 3 srcu/exec/exec.c: In function ‘exec_wrapper’: srcu/exec/exec.c:238 :3 : error: ‘strcat ’ accessing 81 or more bytes at offsets 264 and 184 may overlap 1 byte at offset 264 [-Werror=restrict ] strcat (decoding.asm_buf, decoding.assembly);
4 无效
有时候出现接口404
,此时需要关闭IDEA,然后重新打开后端项目
Life is painting a picture, not doing a sum.