Giter VIP home page Giter VIP logo

Comments (4)

songquanpeng avatar songquanpeng commented on June 29, 2024
  1. 第一个不应该啊,你用的是什么数据库?
  2. 这里有点歧义,这里的渠道指的是不同的 key 就算不同的渠道,例如两个 API2D 的 key 视为两个渠道。
  3. 余额监控这个是个好主意,加入 TODO。

from one-api.

JeazW avatar JeazW commented on June 29, 2024

用的sqlite,既然逻辑是每个key算作不同渠道,那我理解错了,这里没问题。作者辛苦

from one-api.

Chenm4 avatar Chenm4 commented on June 29, 2024

作为新手想用这个项目练手一下如何部署项目到linux服务器,但是我碰到了一点问题想来请教一下,就是我部署的时候运行./one-api --port 3000 --log-dir ./logs 显示 [root@VM-4-9-centos wwwroot]# ./one-api --port 3000 --log-dir ./logs
-bash: ./one-api: cannot execute binary file 然后我通过 [root@VM-4-9-centos wwwroot]# file ./one-api 发现它显示
./one-api: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows 也就是说生成的二进制文件是只能Windows执行,请问这是什么原因?感谢感谢!

from one-api.

songquanpeng avatar songquanpeng commented on June 29, 2024

@Chenm4 去这里 #32 讨论哈。

from one-api.

Related Issues (20)

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.