GithubHelp home page GithubHelp logo

otc's Introduction

###第一次提交

  • otc系统

  • 添加上传图片,在upload/下新增一个skqrcode文件

  • 新建表

    CREATE TABLE `tw_user_skaccount` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
      `pay_method_id` int(11) NOT NULL DEFAULT '0' COMMENT '支付方式ID',
    
      `name` varchar(50) NOT NULL COMMENT '姓名',
      `account` varchar(100) DEFAULT NULL COMMENT '账号',
      `qrcode` varchar(255) DEFAULT NULL COMMENT '二维码',
      `bank` varchar(100) DEFAULT NULL COMMENT '开户行',
      `desc` varchar(400) DEFAULT NULL COMMENT '详细',
    
      `addtime` int(10) NOT NULL COMMENT '添加时间',
      PRIMARY KEY (`id`),
      KEY `user_id` (`user_id`) USING BTREE
    ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
    
  • 数据表添加新字段,新环境下先执行下面

    • alter table tw_order_buy add id_num int(10) not null default 0 comment "识别号";
    • alter table tw_order_sell add id_num int(10) not null default 0 comment "识别号";
    • alter table tw_order_sell add skaccount varchar(50) not null default '' comment "收款账号 逗号分开来";
    • alter table tw_config add day_withdraw decimal(10,2) not null default '0.00' comment "当日提现最大限额";
    • alter table tw_config add single_withdraw decimal(10,2) not null default '0.00' comment "单笔提现最大限额审核";
    • alter table tw_ad_buy add need_coin decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT "购买的币";
    • alter table tw_ad_sell add need_coin decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT "出售的币";
    • alter table tw_user add lang_type varchar(20) NOT NULL DEFAULT '' COMMENT "语言包";
  • php.ini 中的max_execution_time 的值修改为180秒 :为了跑脚本不失败。 Home/Controller/QueueController.class.php 为脚本

  • 在linux的crontab下填写 www.otc.com 改为对应的域名

*/1 * * * * curl http://www.otc.com/Queue/qianbao
*/1 * * * * curl http://www.otc.com/Queue/myzcQueue
*/1 * * * * curl http://www.otc.com/Queue/buydaojishi
*/1 * * * * curl http://www.otc.com/Queue/selldaojishi
0 * * * * * curl http://www.otc.com/Queue/huilvgenxin
0 * * * * * curl http://www.otc.com/Queue/haopinglv
  • run.php是脚本文件

otc's People

Contributors

bogiang avatar

Watchers

James Cloos avatar

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.