|
@@ -137,7 +137,8 @@ public class BizObjController extends BaseController {
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody BizObj bizObj) {
|
|
|
bizObj.setCreateBy(SecurityUtils.getUsername());
|
|
|
- return toAjax(bizObjService.insertBizObj(bizObj));
|
|
|
+ bizObjService.insertBizObj(bizObj);
|
|
|
+ return AjaxResult.success(bizObj);
|
|
|
}
|
|
|
|
|
|
/**
|