mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-17 05:48:12 +08:00
issue #74 添加测试用例
This commit is contained in:
@@ -70,7 +70,7 @@ public interface WxMpService {
|
||||
* @param url url
|
||||
* @return
|
||||
*/
|
||||
public String createJsapiSignature(String timestamp, String noncestr, String url) throws WxErrorException;
|
||||
public String createJsapiSignature(long timestamp, String noncestr, String url) throws WxErrorException;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -127,7 +127,7 @@ public class WxMpServiceImpl implements WxMpService {
|
||||
return wxMpConfigStorage.getJsapiTicket();
|
||||
}
|
||||
|
||||
public String createJsapiSignature(String timestamp, String noncestr, String url) throws WxErrorException {
|
||||
public String createJsapiSignature(long timestamp, String noncestr, String url) throws WxErrorException {
|
||||
String jsapiTicket = getJsapiTicket(false);
|
||||
try {
|
||||
return SHA1.genWithAmple(
|
||||
|
||||
Reference in New Issue
Block a user