|
|
@@ -7,10 +7,7 @@ import me.zhengjie.application.bank.controller.vo.BankUserPwdVO;
|
|
|
import me.zhengjie.application.bank.service.BankUserService;
|
|
|
import me.zhengjie.base.ResponseDTO;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@Validated
|
|
|
@RestController
|
|
|
@@ -31,4 +28,14 @@ public class BankUserController extends BaseController {
|
|
|
bankUserService.updatePwd(userPwdVO, getCurrentUser().getUsername());
|
|
|
return ResponseDTO.success();
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 签章图片连接
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/seal-url")
|
|
|
+ public ResponseDTO<String> sealUrl() {
|
|
|
+ return ResponseDTO.success(bankUserService.getSealUrl(getCurrentUser().getSignImgId()));
|
|
|
+ }
|
|
|
}
|