李雨欣 9.4测试接口 21:04
parent
3b0439063f
commit
0b0f53bf40
|
@ -6,6 +6,7 @@ import com.muyu.common.core.domain.Result;
|
|||
|
||||
import com.muyu.data.AliPay;
|
||||
import com.muyu.market.server.config.AliPayConfig;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
@ -25,6 +26,7 @@ import java.util.UUID;
|
|||
@RestController
|
||||
@RequestMapping("alipay")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Tag(name = "调用第三方支付控制层",description = "调用第三方支付控制层")
|
||||
public class AliPayController {
|
||||
|
||||
@Resource
|
||||
|
|
|
@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/idcard")
|
||||
|
@ -33,7 +34,6 @@ public class SelectIDCardController {
|
|||
return Result.error(e);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ import java.util.stream.Collectors;
|
|||
|
||||
public class SelectIDCardUtil {
|
||||
public static Result main(String name, String idcard) throws Exception {
|
||||
|
||||
String apiKey = "cdd821cebf9cb018406845ca9b37bd62";
|
||||
String apiUrl = "http://op.juhe.cn/idcard/query";
|
||||
|
||||
|
|
Loading…
Reference in New Issue