瀏覽代碼

未授权

release_toaliyun_real
xhxu 5 年之前
父節點
當前提交
e9b72ce44c
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      mallinkCApi/src/main/java/com/iformall/controller/WxCUserBasicSignController.java

+ 6
- 1
mallinkCApi/src/main/java/com/iformall/controller/WxCUserBasicSignController.java 查看文件

@@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@RestController
@@ -130,7 +131,11 @@ public class WxCUserBasicSignController extends BaseController {
try {
memberId = getMemberId();
} catch (MallinkException me) {
return new ResultData(ErrorCode.getByCode(me.getErrorCode()));
Map<String,Integer> map = new HashMap<>();
map.put("continueSign",0);
map.put("signInDay",0);
return new ResultData(map);
// return new ResultData(ErrorCode.getByCode(me.getErrorCode()));
} catch(Exception e){
return new ResultData(ErrorCode.SYS_SERVER_ERROR);
}


Loading…
取消
儲存