jia支付
parent
892b272a3d
commit
682554beae
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,6 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
|
||||||
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
|
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
|
||||||
@EnableDiscoveryClient
|
|
||||||
public class AuthenApp {
|
public class AuthenApp {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(AuthenApp.class);
|
SpringApplication.run(AuthenApp.class);
|
||||||
|
|
|
@ -112,6 +112,7 @@ public class AuthenticationServiceImpl implements AuthenticationService {
|
||||||
return 0;
|
return 0;
|
||||||
},threadPoolExecutor);
|
},threadPoolExecutor);
|
||||||
|
|
||||||
|
CompletableFuture.allOf(f1,f2,f3).join();
|
||||||
Integer i = f1.get();
|
Integer i = f1.get();
|
||||||
Serializable serializable = f2.get();
|
Serializable serializable = f2.get();
|
||||||
Integer b1 = f3.get();
|
Integer b1 = f3.get();
|
||||||
|
|
|
@ -8,7 +8,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableDiscoveryClient
|
@EnableDiscoveryClient
|
||||||
@EnableScheduling
|
//@EnableScheduling
|
||||||
@EnableFeignClients(basePackages = "com.bwie.**")
|
@EnableFeignClients(basePackages = "com.bwie.**")
|
||||||
public class OrderApp {
|
public class OrderApp {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
|
@ -11,6 +11,7 @@ import com.bwie.order.vo.FindTrade;
|
||||||
import com.bwie.order.vo.PayReq;
|
import com.bwie.order.vo.PayReq;
|
||||||
import lombok.extern.log4j.Log4j2;
|
import lombok.extern.log4j.Log4j2;
|
||||||
import org.springframework.context.ApplicationContext;
|
import org.springframework.context.ApplicationContext;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
|
|
|
@ -8,12 +8,6 @@ public interface OrdService {
|
||||||
//点击发布,添加订单
|
//点击发布,添加订单
|
||||||
void addorder(AddOrd addOrd);
|
void addorder(AddOrd addOrd);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Order show(String ordersNumber);
|
Order show(String ordersNumber);
|
||||||
void updStatus(UpdOrder updOrder);
|
void updStatus(UpdOrder updOrder);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ spring:
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: bwie-List
|
name: bwie-team
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: dev
|
||||||
|
|
Loading…
Reference in New Issue