|
|
@@ -24,7 +24,7 @@ import java.util.List;
|
|
|
@Slf4j
|
|
|
public class CFCACertUtil {
|
|
|
private static final int PROXY_SIGN_ON = 1;
|
|
|
- private static final String PROJECT_CODE = "004";
|
|
|
+ private static final String PROJECT_CODE = "005";
|
|
|
private static final String AUTH_MODE = "公安部";
|
|
|
public static boolean proxySwitchOn = false;
|
|
|
|
|
|
@@ -528,11 +528,12 @@ public class CFCACertUtil {
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
- proxySwitchOn = true;
|
|
|
- CertVO certVO = new CertVO();
|
|
|
- certVO.setUserId("DD25A736C37D345DE05311016B0AB061");
|
|
|
try {
|
|
|
- queryCertificate(certVO);
|
|
|
+ PersonVO person = new PersonVO();
|
|
|
+ person.setPersonName("姜凤水");
|
|
|
+ person.setIdentNo("130821196602045575");
|
|
|
+ person.setMobilePhone("13776602160");
|
|
|
+ registerPerson(person);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|