3 changed files with 28 additions and 4 deletions
@ -0,0 +1,23 @@ |
|||
package com.ccsens.util; |
|||
|
|||
import org.junit.Test; |
|||
|
|||
import java.util.HashMap; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: whj |
|||
* @time: 2020/6/23 11:17 |
|||
*/ |
|||
public class TestWpsSignature { |
|||
@Test |
|||
public void test01(){ |
|||
Map<String, String> paramMap= new HashMap<>(); |
|||
paramMap.put("_w_appid", WebConstant.Wps.APPID); |
|||
// paramMap.put("_w_fname", "222.docx");
|
|||
// paramMap.put("_w_userid", "id1000");
|
|||
String signature = WpsSignature.getSignature(paramMap,WebConstant.Wps.APPKEY); |
|||
System.out.println(signature); |
|||
} |
|||
} |
Loading…
Reference in new issue