|  |  |  | 
|---|
|  |  |  | import com.matrix.core.pojo.AjaxResult; | 
|---|
|  |  |  | import com.matrix.core.tools.*; | 
|---|
|  |  |  | import com.matrix.system.app.authority.AppAuthorityManager; | 
|---|
|  |  |  | import com.matrix.system.app.dto.LoginDto; | 
|---|
|  |  |  | import com.matrix.system.app.dto.PwdResetDto; | 
|---|
|  |  |  | import com.matrix.system.app.dto.SmsCodeDto; | 
|---|
|  |  |  | import com.matrix.system.app.dto.UploadPhotoDto; | 
|---|
|  |  |  | import com.matrix.system.app.dto.*; | 
|---|
|  |  |  | import com.matrix.system.app.utils.Sms106Send; | 
|---|
|  |  |  | import com.matrix.system.app.vo.UserInfoVo; | 
|---|
|  |  |  | import com.matrix.system.common.authority.strategy.AccountPasswordLogin; | 
|---|
|  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "获取api接口地址", notes = "获取api接口地址") | 
|---|
|  |  |  | @GetMapping(value = "/findApiUrl") | 
|---|
|  |  |  | public AjaxResult findApiUrl() { | 
|---|
|  |  |  | Map<String, String> map = new HashMap<>(); | 
|---|
|  |  |  | map.put("prd", "http://myapp.jyymatrix.cc/"); | 
|---|
|  |  |  | map.put("test", "http://test.hive.jyymatrix.cc/"); | 
|---|
|  |  |  | List<UrlDto> data = new ArrayList<>(); | 
|---|
|  |  |  | UrlDto urlDto = new UrlDto(); | 
|---|
|  |  |  | urlDto.setUrl("http://myapp.jyymatrix.cc"); | 
|---|
|  |  |  | urlDto.setName("正式环境"); | 
|---|
|  |  |  | data.add(urlDto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return AjaxResult.buildSuccessInstance(map); | 
|---|
|  |  |  | urlDto = new UrlDto(); | 
|---|
|  |  |  | urlDto.setUrl("http://test.hive.jyymatrix.cc"); | 
|---|
|  |  |  | urlDto.setName("测试环境"); | 
|---|
|  |  |  | data.add(urlDto); | 
|---|
|  |  |  | return AjaxResult.buildSuccessInstance(data); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|