Commit a03f0678 by 徐高华

test

parent fa54c426
......@@ -67,6 +67,15 @@ public interface QwFriendApiService {
*/
public ServiceResponse<List<QwPendingIdDTO>> listPendingIdByExternalid(String enterpriseId,
List<String> externalUserIdList);
public ServiceResponse<Object> getTestTimes(String wxEnterpriseId) ;
/**
*
* @Title: getCallTimes
* @Description: 获取调用次数
* @author xugh
* @param wxEnterpriseId
* @return
* @throws
*/
public ServiceResponse<Object> getCallTimes(String wxEnterpriseId) ;
}
......@@ -204,8 +204,8 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
}
@Override
public ServiceResponse<Object> getTestTimes(String wxEnterpriseId) {
return ServiceResponse.success(QwTimesUtils.getTestTimes(wxEnterpriseId));
public ServiceResponse<Object> getCallTimes(String wxEnterpriseId) {
return ServiceResponse.success(QwTimesUtils.getPendingTimes(wxEnterpriseId));
}
}
......@@ -40,7 +40,7 @@ public class QwTimesUtils {
QwTimesUtils.enterpriseService = enterpriseService;
}
public static Map<String,Object> getTestTimes(String wxEnterpriseId) {
public static Map<String,Object> getPendingTimes(String wxEnterpriseId) {
QwInterfaceLimitEnum qwInterface = QwInterfaceLimitEnum.GET_PENDING_ID ;
Date now = new Date();
String dateStr = getDateStr(now);
......
......@@ -86,7 +86,7 @@ public class TestController extends WebBaseController {
@RequestMapping("/get-pending-times")
public HaobanResponse getTestTimes(String wxEnterpriseId) {
return this.resultResponse(HaoBanErrCode.ERR_0,this.qwFriendApiService.getTestTimes(wxEnterpriseId));
return this.resultResponse(HaoBanErrCode.ERR_0,this.qwFriendApiService.getCallTimes(wxEnterpriseId));
}
@RequestMapping("/send-message-test")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment