-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cc2fa28
Showing
412 changed files
with
75,598 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.idea | ||
/.vscode | ||
*.log | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
sudo: false | ||
|
||
language: php | ||
|
||
branches: | ||
only: | ||
- stable | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
before_install: | ||
- composer self-update | ||
|
||
install: | ||
- composer install --no-dev --no-interaction --ignore-platform-reqs | ||
- zip -r --exclude='*.git*' --exclude='*.zip' --exclude='*.travis.yml' ThinkPHP_Core.zip . | ||
- composer require --update-no-dev --no-interaction "topthink/think-image:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-migration:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-captcha:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-mongo:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-worker:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-helper:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-queue:^1.0" | ||
- composer require --update-no-dev --no-interaction "topthink/think-angular:^1.0" | ||
- composer require --dev --update-no-dev --no-interaction "topthink/think-testing:^1.0" | ||
- zip -r --exclude='*.git*' --exclude='*.zip' --exclude='*.travis.yml' ThinkPHP_Full.zip . | ||
|
||
script: | ||
- php think unit | ||
|
||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: TSF6bnl2JYN72UQOORAJYL+CqIryP2gHVKt6grfveQ7d9rleAEoxlq6PWxbvTI4jZ5nrPpUcBUpWIJHNgVcs+bzLFtyh5THaLqm39uCgBbrW7M8rI26L8sBh/6nsdtGgdeQrO/cLu31QoTzbwuz1WfAVoCdCkOSZeXyT/CclH99qV6RYyQYqaD2wpRjrhA5O4fSsEkiPVuk0GaOogFlrQHx+C+lHnf6pa1KxEoN1A0UxxVfGX6K4y5g4WQDO5zT4bLeubkWOXK0G51XSvACDOZVIyLdjApaOFTwamPcD3S1tfvuxRWWvsCD5ljFvb2kSmx5BIBNwN80MzuBmrGIC27XLGOxyMerwKxB6DskNUO9PflKHDPI61DRq0FTy1fv70SFMSiAtUv9aJRT41NQh9iJJ0vC8dl+xcxrWIjU1GG6+l/ZcRqVx9V1VuGQsLKndGhja7SQ+X1slHl76fRq223sMOql7MFCd0vvvxVQ2V39CcFKao/LB1aPH3VhODDEyxwx6aXoTznvC/QPepgWsHOWQzKj9ftsgDbsNiyFlXL4cu8DWUty6rQy8zT2b4O8b1xjcwSUCsy+auEjBamzQkMJFNlZAIUrukL/NbUhQU37TAbwsFyz7X0E/u/VMle/nBCNAzgkMwAUjiHM6FqrKKBRWFbPrSIixjfjkCnrMEPw= | ||
file: | ||
- ThinkPHP_Core.zip | ||
- ThinkPHP_Full.zip | ||
skip_cleanup: true | ||
on: | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 | ||
版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) | ||
All rights reserved。 | ||
ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 | ||
|
||
Apache Licence是著名的非盈利开源组织Apache采用的协议。 | ||
该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, | ||
允许代码修改,再作为开源或商业软件发布。需要满足 | ||
的条件: | ||
1. 需要给代码的用户一份Apache Licence ; | ||
2. 如果你修改了代码,需要在被修改的文件中说明; | ||
3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 | ||
带有原来代码中的协议,商标,专利声明和其他原来作者规 | ||
定需要包含的说明; | ||
4. 如果再发布的产品中包含一个Notice文件,则在Notice文 | ||
件中需要带有本协议内容。你可以在Notice中增加自己的 | ||
许可,但不可以表现为对Apache Licence构成更改。 | ||
具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
V发卡 —— 个人开发者自动发卡解决方案 | ||
=============== | ||
|
||
|
||
|
||
V发卡 是基于Thinkphp5.1 + mysql 实现的一套自动发卡程序,主要包含以下特色: | ||
|
||
+ 完全开源 | ||
+ 对接v免签,实现配套免签约自动发卡 | ||
|
||
|
||
> V发卡的运行环境为PHP版本>=5.6。 | ||
> V发卡仅供个人开发者调试测试和交流学习使用,请勿用于非法用途 | ||
> V发卡/V免签开发交流群:992029073 | ||
> bug反馈请建立issues | ||
> 配套的V免签Java版本的服务端( https://github.com/szvone/Vmq ) | ||
> 配套的V免签PHP版本的服务端( https://github.com/szvone/Vmqphp ) | ||
> 配套的V免签监控端( https://github.com/szvone/VmqApk ) | ||
## 前言 | ||
|
||
|
||
V发卡为完全开源项目,开源项目意味着作者没有任何收入来源,仅凭个人空闲时间开发,如果您有经济条件,您可以赞助本项目的开发(下方收款码),如果您不想赞助,也请您点击上面的Star给一个星星,也是对我莫大的认同,感谢各位的支持。 | ||
|
||
![微信赞助](wx.jpg)![支付宝赞助](zfb.jpg) | ||
|
||
|
||
## 安装 | ||
+ 推荐使用宝塔面板安装,以下教程为宝塔面板安装教程,其他环境请参考自行配置 | ||
|
||
1、下载源代码,Clone or download->Download ZIP | ||
|
||
2、宝塔面板中新建网站,设置: | ||
|
||
+ 网站目录->运行目录 设置为public并保存 | ||
+ 伪静态 设置为thinkphp并保存 | ||
+ 默认文档 设置将index.html放在第一行并保存 | ||
|
||
3、打开网站目录 config/database.php ,设置好您的mysql账号密码。 | ||
|
||
4、导入数据库文件(位于根目录)vfkphp.sql到您的数据库。 | ||
|
||
6、设置宝塔计划任务,访问URL,执行周期为每1分钟,访问内容为:http://域名/closeOrder | ||
|
||
5、至此网站搭建完毕,请访问后自行修改配置信息!默认后台账号和密码均为admin | ||
|
||
|
||
> 升级说明:请您直接下载新版本覆盖旧版本即可! | ||
|
||
## 调用 | ||
|
||
+ 请部署完成后访问后台,有详细的Api说明 | ||
|
||
|
||
## 注意 | ||
|
||
+ 本系统为对接v免签实现的一套自动发卡系统,所以请您在使用本套系统之前先部署v免签 | ||
|
||
+ v发卡面向用户是个人开发者,如果您不懂如何开发网站,那么v免签不适合您的使用! | ||
|
||
+ v发卡是免费开源产品,所有程序均开放源代码,所以不会有收费计划,因此作者不可能教会每个人部署安装,请参考文档多百度谷歌,v免签使用具有一定的技术门槛,请见谅! | ||
|
||
## 更新记录 | ||
|
||
+ v1.0(2019.05.06) | ||
+ PHP初版发布 | ||
|
||
## 版权信息 | ||
|
||
V免签遵循 MIT License 开源协议发布,并提供免费使用,请勿用于非法用途。 | ||
|
||
|
||
版权所有Copyright © 2019 by vone (http://szvone.cn) | ||
|
||
All rights reserved。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
deny from all |
Oops, something went wrong.