use of com.liumapp.digitalsign.test.ca.tianwei.user.AccountConfigResult in project spring-cloud-digital-sign by SpringForAll.
the class RaService method synchroTemplate.
/**
* 获取证书模板
*
* @Title: synchroTemplate
* @Description: TODO(获取证书模板)
* @return JSONObject
* @throws JSONException
*/
public JSONObject synchroTemplate() throws JSONException {
JSONObject ret = new JSONObject();
try {
UserAPIServicePortTypeProxy proxy = axisUtil.getProxyNow();
AccountConfigResult result = proxy.synchroTemplate(ACCOUNT_HASH);
ret.put("code", "0");
ret.put("msg", "");
ret.put("result", result);
} catch (Exception e) {
ret.put("code", "20010101");
ret.put("msg", errorCode.getErrorCode().get(20010101) + ":" + e.getMessage());
return ret;
}
return ret;
}
Aggregations