|
@@ -107,7 +107,7 @@ public class InvAccountController {
|
|
|
@PostMapping("insertAccount")
|
|
@PostMapping("insertAccount")
|
|
|
public HttpResult insertInsAccount(@RequestBody InvAccount invAccount) {
|
|
public HttpResult insertInsAccount(@RequestBody InvAccount invAccount) {
|
|
|
if (invAccountService.save(invAccount)) {
|
|
if (invAccountService.save(invAccount)) {
|
|
|
- return HttpResult.ok();
|
|
|
|
|
|
|
+ return HttpResult.ok(invAccount);
|
|
|
} else {
|
|
} else {
|
|
|
return HttpResult.error();
|
|
return HttpResult.error();
|
|
|
}
|
|
}
|