From 0750a66984bb12e672ce6e3bcfad12932a32fa08 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 17 Jun 2020 15:15:26 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/common/system/controller/CommonController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/common/system/controller/CommonController.java b/src/main/java/com/xcong/excoin/common/system/controller/CommonController.java
index f34d016..eb3cc94 100644
--- a/src/main/java/com/xcong/excoin/common/system/controller/CommonController.java
+++ b/src/main/java/com/xcong/excoin/common/system/controller/CommonController.java
@@ -59,7 +59,7 @@
         // 发送手机验证码
         if (AppContants.ACCOUNT_TYPE_MOBILE.equals(type)) {
             Map<String, Object> result = SmsUtils.sendVerifyCode(account, code);
-            if (SUCCESS.equals(result.get("resultstatus"))) {
+            if (SUCCESS.equals(result.get("returnstatus"))) {
                 Map<String, Object> map = new HashMap<>();
                 boolean flag = redisUtils.set(AppContants.VERIFY_CODE_PREFIX + account, code, 120);
                 map.put("code", flag);
@@ -93,7 +93,7 @@
     }
 
     @ApiOperation(value = "文件上次接口", notes = "文件上传")
-    @GetMapping(value = "/uploadFile")
+    @PostMapping(value = "/uploadFileBase64")
     public Result uploadFileBase64(@RequestBody @Validated Base64UploadDto uploadDto) {
         String imageName = "uploadeFile/image/" + System.currentTimeMillis() + IdUtil.simpleUUID() + AppContants.UPLOAD_IMAGE_SUFFIX;
 

--
Gitblit v1.9.1