| | |
| | | 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> url = new HashMap<>(); |
| | | url.put("prd", "http://myapp.jyymatrix.cc/"); |
| | | url.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); |
| | | |
| | | Map<String, String> des = new HashMap<>(); |
| | | des.put("prd", "正式环境"); |
| | | des.put("test", "测试环境"); |
| | | |
| | | Map<String, Object> data = new HashMap<>(); |
| | | data.put("url", url); |
| | | data.put("des", des); |
| | | urlDto = new UrlDto(); |
| | | urlDto.setUrl("http://test.hive.jyymatrix.cc/"); |
| | | urlDto.setName("测试环境"); |
| | | data.add(urlDto); |
| | | return AjaxResult.buildSuccessInstance(data); |
| | | } |
| | | |