Commit ce4ec087 by 墨竹

feat:绑定的好友数量

parent 021ac79d
......@@ -1452,13 +1452,13 @@ public class ClerkController extends WebBaseController {
* @return
*/
@RequestMapping("external-friend-count")
public HaobanResponse friendCount(String staffId) {
public RestResponse friendCount(String staffId) {
StaffDTO staff = staffApiService.selectById(staffId);
List<Integer> statusFlags = new ArrayList<>();
statusFlags.add(3);
statusFlags.add(4);
int countExternalClerk = externalClerkRelatedApiService.getCountExternalClerk(staff.getWxEnterpriseId(), staffId, statusFlags);
return resultResponse(HaoBanErrCode.ERR_1, countExternalClerk);
return RestResponse.successResult(countExternalClerk);
}
}
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