소스 검색

未授权

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);
}


불러오는 중...
취소
저장