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
| package org.fanli.facade.user.service.invite;
|
| import java.io.IOException;
|
| public interface QrCodeService {
| /**
| * 生成邀请赚的图片
| *
| * @param url
| * @param uid
| * @param portrait
| * @return
| * @throws IOException
| */
| String drawInviteQrCode(String url, Long uid, String portrait) throws IOException;
|
| /**
| * 绘制邀请二维码
| *
| * @param url
| * -背景图链接
| * @param uid
| * -用户ID
| * @param portrait
| * -头像路径
| * @param erCodePostionX
| * 二维码坐标X
| * @param erCodePostionY
| * 二维码坐标Y
| * @param erCodeSize
| * 二维码尺寸
| * @return
| * @throws IOException
| */
| String drawInviteQrCode(String url, Long uid, String portrait, int erCodePostionX, int erCodePostionY,
| int erCodeSize) throws IOException;
| }
|
|