|
@@ -17,6 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
|
|
|
|
@Api(tags = "账户余额")
|
|
@Api(tags = "账户余额")
|
|
|
@RequestMapping("/sysUserAccount")
|
|
@RequestMapping("/sysUserAccount")
|
|
@@ -40,7 +41,11 @@ public class SysUserAccountController extends BaseController {
|
|
|
return sysUserAccountService.inert(sysUserAccountVo);
|
|
return sysUserAccountService.inert(sysUserAccountVo);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ @GetMapping(value = "/getSysUserAmount")
|
|
|
|
|
+ @ApiOperation("用户账户余额")
|
|
|
|
|
+ public HttpResult<SysUserAccount> getSysUserAmount(@RequestParam String userid) {
|
|
|
|
|
+ return HttpResult.ok(sysUserAccountService.getSysUserAmount(userid));
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|