| | |
| | | package com.yeshi.fanli.service.inter.taobao;
|
| | |
|
| | | import com.yeshi.fanli.exception.taobao.TaoBaoBuyRelationMapException;
|
| | |
|
| | | public interface TaoBaoBuyRelationMapService {
|
| | | /**
|
| | | * 获取有效的渠道ID
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public String getRelationId(Long uid) throws TaoBaoBuyRelationMapException;
|
| | |
|
| | | /**
|
| | | * 根据渠道ID获取用户ID
|
| | | * |
| | | * @param relationId
|
| | | * @return
|
| | | */
|
| | | public Long selectUidByRelationId(String relationId);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.taobao; |
| | | |
| | | import com.yeshi.fanli.exception.taobao.TaoBaoBuyRelationMapException; |
| | | |
| | | public interface TaoBaoBuyRelationMapService { |
| | | /** |
| | | * 获取有效的渠道ID |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public String getRelationId(Long uid) throws TaoBaoBuyRelationMapException; |
| | | |
| | | /** |
| | | * 根据渠道ID获取用户ID |
| | | * |
| | | * @param relationId |
| | | * @return |
| | | */ |
| | | public Long selectUidByRelationId(String relationId); |
| | | |
| | | } |