Giter VIP home page Giter VIP logo

qi-api's Introduction

qi-api's People

Contributors

llsyyds avatar qimu666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qi-api's Issues

本地调用

你好,我在本地运行测试调用出现如图下面报错,该如何解决呢?
Unable to make field protected java.lang.String java.net.HttpURLConnection.method accessible: module java.base does not "opens java.net" to unnamed module @305b7c14
0046f5c039cf1b26afaa43c3a920103

一些建议

  1. 接口流控,接口容易被刷;
  2. qq登录,这是目前最常用得登录方式;

无法打包报错

C:\Users\lenovo.jdks\corretto-1.8.0_392\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\lenovo\Desktop\qi-api-后端 -Djansi.passthrough=true "-Dmaven.home=D:\JetBrains\IntelliJ IDEA 2023.2.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\JetBrains\IntelliJ IDEA 2023.2.1\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA 2023.2.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\JetBrains\IntelliJ IDEA 2023.2.1\lib\idea_rt.jar=55153:D:\JetBrains\IntelliJ IDEA 2023.2.1\bin" -Dfile.encoding=UTF-8 -classpath "D:\JetBrains\IntelliJ IDEA 2023.2.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.7.0.jar;D:\JetBrains\IntelliJ IDEA 2023.2.1\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2023.3.2 -s D:\apache-maven\conf\settings.xml package
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-backend:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 6, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-interface:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-gateway:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-common:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
@
[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]
[ERROR] The project com.qimu:qi-api-backend:0.0.1 (C:\Users\lenovo\Desktop\qi-api-后端\qi-api-backend\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.qimu:qi-api-backend:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 6, column 13 -> [Help 2]
[ERROR]
[ERROR] The project com.qimu:qi-api-interface:0.0.1 (C:\Users\lenovo\Desktop\qi-api-后端\qi-api-interface\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.qimu:qi-api-interface:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project com.qimu:qi-api-gateway:0.0.1-SNAPSHOT (C:\Users\lenovo\Desktop\qi-api-后端\qi-api-gateway\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.qimu:qi-api-gateway:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project com.qimu:qi-api-common:0.0.1 (C:\Users\lenovo\Desktop\qi-api-后端\qi-api-common\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.qimu:qi-api-common:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

进程已结束,退出代码为 1

无法删除未付款订单

用户ID:1744911392902868994
地址:https://api.qimuu.icu/order/list
涉及订单编号:order_58346913854540595023
报错内容:Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "1744912561268191233"

无法打包问题

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-backend:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 6, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-interface:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-gateway:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
[FATAL] Non-resolvable parent POM for com.qimu:qi-api-common:0.0.1: The following artifacts could not be resolved: com.qimu:qi-api:pom:0.0.1 (absent): com.qimu:qi-api:pom:0.0.1 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 5, column 13
@

本地测试调用报错

博主你好,本地测试调用的时候出现了如下的Bug,后台也没有任何的报错,Nacos也开着在,Nacos中也能找到这个服务,但是调用不通过。
Snipaste_2024-03-23_02-44-10
Snipaste_2024-03-23_02-52-20

启动gateway报错

启动gateway的时候,报错没有服务提供者,qi-api-interface已经启动了,还是报错
java.lang.IllegalStateException: Failed to check the status of the service com.qimu.qiapicommon.service.inner.InnerUserService. No provider available for the service com.qimu.qiapicommon.service.inner.InnerUserService from the url consumer://10.200.31.204/com.qimu.qiapicommon.service.inner.InnerUserService?application=dubbo-springboot-demo-provider&background=false&dubbo=2.0.2&file.cache=false&interface=com.qimu.qiapicommon.service.inner.InnerUserService&methods=getInvokeUserByAccessKey&pid=69912&qos.enable=false&register.ip=10.200.31.204&release=3.0.9&side=consumer&sticky=false&timestamp=1708241846977 to the consumer 10.200.31.204 use dubbo version 3.0.9

QiApiGatewayApplication缺少工具类

拉取最新master后端,缺少工具类无法运行QiApiGatewayApplication服务
缺少的工具类:import static com.qimu.qiapigateway.utils.NetUtils.getIp;
报错行:log.info("接口请求IP:" + getIp(request));

尝试将网关更改为本地的网关后接口在线调试不通过。

我想问一下想把网关改到本地的网关需要修改哪些内容。
我修改了数据库的url以及qi-api-backend中application.yml的配置,但是在尝试调试时报错
{
"code": 0,
"data": {
"code": 403,
"errorMessage": "404 NOT_FOUND"
},
"message": "ok"
}
截图如下:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.