MemberService.java
1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.diligrp.website.service;
import java.util.List;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.domain.Result;
import com.diligrp.website.util.web.PageTemplate;
import com.yqyw.user.rpc.client.domain.input.CreditLimitReq;
import com.yqyw.user.rpc.client.domain.input.LockMemberReq;
import com.yqyw.user.rpc.client.domain.output.DefaultResp;
import com.yqyw.user.rpc.client.domain.output.EnterpriseInfoResp;
import com.yqyw.user.rpc.client.domain.output.LockMemberResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditInfoResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditOptionLogResp;
import com.yqyw.user.rpc.client.domain.output.UserExtensionResp;
import com.yqyw.user.rpc.client.domain.output.UserInfoResp;
public interface MemberService {
public Result list(BaseQuery bq);
public PageTemplate query(BaseQuery bq);
public LockMemberResp getLockUser(Long id);
public boolean lockMember(LockMemberReq req);
public boolean unlockMember(LockMemberReq req);
public List<MemberCreditOptionLogResp> getCreditHistory(Long memberId);
public MemberCreditInfoResp getCreditInfo(Long memberId);
public DefaultResp updateCreditLimit(CreditLimitReq req);
// public Result historyList(Integer type,Long userId, BaseQuery bq);
public UserInfoResp getMemberInfo(Long uid);
public UserExtensionResp getMemberExtension(Long uid);
public EnterpriseInfoResp getEnterpriseByUserId(Long uid);
public Result getMemberFavorite(Long uid, Integer type, Integer currPage,
Integer pageSize);
}