add 汽车标准数字化平台ASMS开放API接口管理(未完成)
This commit is contained in:
@@ -383,6 +383,16 @@ hiwork:
|
||||
# 统一消息集成
|
||||
messageUrl: taskapi/task.basedata/notice/noticeCalls/send
|
||||
|
||||
# 汽车标准数字化平台ASMS
|
||||
asms:
|
||||
host: http://standard.catarc.org.cn/
|
||||
# 测试账号用户名
|
||||
username: ceshi
|
||||
# 测试账号密码
|
||||
password: Catarc@333
|
||||
# token过期时间(单位:小时)
|
||||
expire: 48
|
||||
|
||||
# 单点登录配置(所有配置信息需要协调注册,现在都为假)
|
||||
oauth:
|
||||
# 客户端应用注册ID
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.jero.modules.standard.domestic;
|
||||
|
||||
import com.jero.JeroSystemSingleApplication;
|
||||
import com.jero.modules.docking.asms.util.AsmsPostUtil;
|
||||
import com.jero.modules.laws.standard.entity.LawsDomesticStandard;
|
||||
import com.jero.modules.laws.standard.service.ILawsDomesticStandardService;
|
||||
import org.junit.Test;
|
||||
@@ -20,6 +21,8 @@ public class StandardTest {
|
||||
|
||||
@Autowired
|
||||
private ILawsDomesticStandardService lawsDomesticStandardService;
|
||||
@Autowired
|
||||
private AsmsPostUtil asmsPostUtil;
|
||||
|
||||
@Test
|
||||
public void getByIdTest() {
|
||||
@@ -27,4 +30,9 @@ public class StandardTest {
|
||||
System.out.println(byId);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAsmsPost() {
|
||||
asmsPostUtil.sendGetReq("/countriesregions/list", null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user