|
@@ -65,6 +65,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改头像", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改头像", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/avatar")
|
|
@PutMapping("/my/avatar")
|
|
|
public R<Void> updateMyAvatar(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyAvatar(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -76,6 +77,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改姓名", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改姓名", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/name")
|
|
@PutMapping("/my/name")
|
|
|
public R<Void> updateMyName(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyName(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -87,6 +89,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改工作状态", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改工作状态", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/status")
|
|
@PutMapping("/my/status")
|
|
|
public R<Void> updateMyStatus(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyStatus(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -98,6 +101,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改工作城市", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改工作城市", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/city")
|
|
@PutMapping("/my/city")
|
|
|
public R<Void> updateMyCity(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyCity(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -127,6 +131,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* 更新认证信息(App端)
|
|
* 更新认证信息(App端)
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@Log(title = "履约者-更新认证信息", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-更新认证信息", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/my/auth")
|
|
@PostMapping("/my/auth")
|
|
|
public R<Void> updateMyAuthInfo(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyAuthInfo(@RequestBody Map<String, String> params) {
|
|
@@ -139,6 +144,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改手机号", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改手机号", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/phone")
|
|
@PutMapping("/my/phone")
|
|
|
public R<Void> updateMyPhone(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyPhone(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -151,6 +157,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-修改密码", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者-修改密码", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/my/password")
|
|
@PutMapping("/my/password")
|
|
|
public R<Void> updateMyPassword(@RequestBody Map<String, String> params) {
|
|
public R<Void> updateMyPassword(@RequestBody Map<String, String> params) {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -162,6 +169,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
* @author steelwei
|
|
* @author steelwei
|
|
|
*/
|
|
*/
|
|
|
@Log(title = "履约者-注销账号", businessType = BusinessType.DELETE)
|
|
@Log(title = "履约者-注销账号", businessType = BusinessType.DELETE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@DeleteMapping("/my/account")
|
|
@DeleteMapping("/my/account")
|
|
|
public R<Void> deleteMyAccount() {
|
|
public R<Void> deleteMyAccount() {
|
|
|
Long userId = LoginHelper.getUserId();
|
|
Long userId = LoginHelper.getUserId();
|
|
@@ -182,6 +190,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
*/
|
|
*/
|
|
|
//@SaCheckPermission("fulfiller:fulfiller:export")
|
|
//@SaCheckPermission("fulfiller:fulfiller:export")
|
|
|
@Log(title = "履约者管理", businessType = BusinessType.EXPORT)
|
|
@Log(title = "履约者管理", businessType = BusinessType.EXPORT)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PostMapping("/export")
|
|
@PostMapping("/export")
|
|
|
public void export(FlfFulfillerBo bo, HttpServletResponse response) {
|
|
public void export(FlfFulfillerBo bo, HttpServletResponse response) {
|
|
|
List<FlfFulfillerVo> list = fulfillerService.queryList(bo);
|
|
List<FlfFulfillerVo> list = fulfillerService.queryList(bo);
|
|
@@ -225,6 +234,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
*/
|
|
*/
|
|
|
//@SaCheckPermission("fulfiller:fulfiller:edit")
|
|
//@SaCheckPermission("fulfiller:fulfiller:edit")
|
|
|
@Log(title = "履约者管理", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者管理", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/changeStatus")
|
|
@PutMapping("/changeStatus")
|
|
|
public R<Void> changeStatus(@RequestParam Long id, @RequestParam String status) {
|
|
public R<Void> changeStatus(@RequestParam Long id, @RequestParam String status) {
|
|
|
return toAjax(fulfillerService.changeStatus(id, status));
|
|
return toAjax(fulfillerService.changeStatus(id, status));
|
|
@@ -235,6 +245,7 @@ public class FlfFulfillerController extends BaseController {
|
|
|
*/
|
|
*/
|
|
|
//@SaCheckPermission("fulfiller:fulfiller:edit")
|
|
//@SaCheckPermission("fulfiller:fulfiller:edit")
|
|
|
@Log(title = "履约者管理", businessType = BusinessType.UPDATE)
|
|
@Log(title = "履约者管理", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @RepeatSubmit()
|
|
|
@PutMapping("/resetPwd")
|
|
@PutMapping("/resetPwd")
|
|
|
public R<Void> resetPwd(@RequestParam Long id, @RequestParam String password) {
|
|
public R<Void> resetPwd(@RequestParam Long id, @RequestParam String password) {
|
|
|
return toAjax(fulfillerService.resetPwd(id, password));
|
|
return toAjax(fulfillerService.resetPwd(id, password));
|