1 package com.foxinmy.weixin4j.pay.sign;
2
3 import com.foxinmy.weixin4j.util.MapUtil;
4
5
6
7
8
9
10
11
12
13
14 public abstract class AbstractWeixinSignature implements WeixinSignature {
15
16
17
18
19
20 @Override
21 public boolean encoder() {
22 return false;
23 }
24
25
26
27
28
29
30 @Override
31 public boolean lowerCase() {
32 return false;
33 }
34
35
36
37
38
39
40
41 protected StringBuilder join(Object obj) {
42 return new StringBuilder(MapUtil.toJoinString(obj, encoder(),
43 lowerCase()));
44 }
45 }