..
This commit is contained in:
+5
-39
@@ -40,38 +40,6 @@
|
||||
</developers>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.xfire</groupId>
|
||||
<artifactId>xfire-all</artifactId>
|
||||
<version>1.2.6</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>spring</artifactId>
|
||||
<groupId>org.springframework</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>xfire-spring</artifactId>
|
||||
<groupId>org.codehaus.xfire</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
<groupId>xerces</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>stax-api</artifactId>
|
||||
<groupId>stax</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>xfire-xmlbeans</artifactId>
|
||||
<groupId>org.codehaus.xfire</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
<version>2.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.afterturn</groupId>
|
||||
<artifactId>easypoi-base</artifactId>
|
||||
@@ -127,13 +95,6 @@
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>${mysql-connector-java.version}</version>
|
||||
</dependency>
|
||||
<!--<dependency>-->
|
||||
<!--<groupId>com.oracle</groupId>-->
|
||||
<!--<artifactId>classes12</artifactId>-->
|
||||
<!--<version>10.2.0.2.0</version>-->
|
||||
<!--<scope>system</scope>-->
|
||||
<!--<systemPath>D://oracle/product/10.2.0/db_1/jdbc/lib/classes12.jar</systemPath>-->
|
||||
<!--</dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.nutz</groupId>
|
||||
<artifactId>nutzboot-starter-redis</artifactId>
|
||||
@@ -164,6 +125,11 @@
|
||||
<artifactId>nutzboot-starter-quartz</artifactId>
|
||||
<version>${nutzboot.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.nutz</groupId>
|
||||
<artifactId>nutzboot-starter-swagger</artifactId>
|
||||
<version>${nutzboot.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vdurmont</groupId>
|
||||
<artifactId>emoji-java</artifactId>
|
||||
|
||||
@@ -11,6 +11,8 @@ import com.budwk.app.sys.services.SysUserService;
|
||||
import com.budwk.app.web.commons.auth.satoken.StpClientUtil;
|
||||
import com.budwk.app.web.commons.auth.service.ValidateService;
|
||||
import com.budwk.app.web.commons.slog.SLogService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.nutz.dao.Dao;
|
||||
import org.nutz.integration.jedis.RedisService;
|
||||
@@ -29,6 +31,7 @@ import javax.servlet.http.HttpSession;
|
||||
@IocBean
|
||||
@At("/client/auth")
|
||||
@Slf4j
|
||||
@Api(tags = "客户端登录认证")
|
||||
public class ClientAuthController {
|
||||
|
||||
@Inject
|
||||
@@ -58,6 +61,7 @@ public class ClientAuthController {
|
||||
@At("/sms-login")
|
||||
@Ok("json")
|
||||
@AdaptBy(type = JsonAdaptor.class)
|
||||
@ApiOperation(value = "短信登录")
|
||||
public Object doSmsLogin(ClientLoginBody loginBody, HttpServletRequest req) {
|
||||
try {
|
||||
String token = clientAuthService.doSmsLogin(loginBody);
|
||||
|
||||
@@ -45,5 +45,5 @@ public class ActItemGroupScore extends BaseModel {
|
||||
|
||||
@Column
|
||||
@Comment("队伍排名")
|
||||
private Integer rank;
|
||||
private Integer ranking;
|
||||
}
|
||||
|
||||
@@ -1,27 +1,12 @@
|
||||
package com.budwk.app.web.commons.ext.sms;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import com.budwk.app.base.exception.BaseException;
|
||||
import com.budwk.app.base.service.BaseService;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
import org.codehaus.xfire.client.Client;
|
||||
import org.nutz.ioc.impl.PropertiesProxy;
|
||||
import org.nutz.ioc.loader.annotation.Inject;
|
||||
import org.nutz.ioc.loader.annotation.IocBean;
|
||||
import org.nutz.json.Json;
|
||||
import org.nutz.lang.Strings;
|
||||
import org.nutz.lang.util.NutMap;
|
||||
import org.nutz.log.Log;
|
||||
import org.nutz.log.Logs;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.core.io.Resource;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* 短信服务
|
||||
|
||||
Reference in New Issue
Block a user