|
|
@@ -2,10 +2,7 @@ package com.usoftchina.sso.test;
|
|
|
|
|
|
import com.usoftchina.saas.utils.CollectionUtils;
|
|
|
import com.usoftchina.sso.api.SsoUserApi;
|
|
|
-import com.usoftchina.sso.dto.SsoCheckMobile;
|
|
|
-import com.usoftchina.sso.dto.SsoResult;
|
|
|
-import com.usoftchina.sso.dto.SsoUser;
|
|
|
-import com.usoftchina.sso.dto.SsoUserSpaceList;
|
|
|
+import com.usoftchina.sso.dto.*;
|
|
|
import org.junit.FixMethodOrder;
|
|
|
import org.junit.Test;
|
|
|
import org.junit.runner.RunWith;
|
|
|
@@ -13,7 +10,6 @@ import org.junit.runners.MethodSorters;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
/**
|
|
|
* @author yingp
|
|
|
@@ -69,4 +65,10 @@ public class SsoUserApiTest {
|
|
|
String result = ssoUserApi.bind("bind","trade-app", userUU, companyUU);
|
|
|
System.out.println(result);
|
|
|
}
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void testG_add(){
|
|
|
+ SsoResult result = ssoUserApi.add("add", "sp","陈炜","18702604854","123456",10050513L);
|
|
|
+ System.out.println(result);
|
|
|
+ }
|
|
|
}
|