Giter VIP home page Giter VIP logo

chuanhaisoft / chuanhaishop-php-yaf Goto Github PK

View Code? Open in Web Editor NEW
93.0 5.0 39.0 203.14 MB

ChuanHaiShop 采用php的yaf内存框架开发,运行速度极快,自身集成orm,使用灵活,sql语句的执行采用sql预处理方式,从根源上避免了sql注入,业务逻辑大量采用行锁,事务,运行稳定。

License: Other

PHP 20.61% CSS 8.41% HTML 3.88% JavaScript 66.72% Makefile 0.01% Hack 0.15% SCSS 0.22%

chuanhaishop-php-yaf's Introduction

ChuanHaiShop 采用php的yaf内存框架开发,运行速度极快,自身集成orm,使用灵活,sql语句的执行采用sql预处理方式,从根源上避免了sql注入,业务逻辑大量采用行锁,事务,运行稳定。

ChuanHaiShop为b2c版本,但表结构已经设计为多商户,使用者可根据需要方便的自行改造为b2b2c.

产品特征:

多规格可以设置多价格,规格自定义

运费支持设置省级运费

 产品价格由 金额和积分2部分,积分用来抵扣现金,价格设置支持2位小数

配置:

1.安装:http://domain/install/index.php

2.环境要求:php>=5.4 (支持php7) yaf最新版即可,开启yaf命名空间

3.微信支付证书位置:\m\weixin\cert\

4.shell服务:php -f /web路径/cmd.php request_uri=/cmd/order/do

川海软件

后台地址:http://xxx.xxx.com/chuanhai 用户名:admin 密码:chuanhaisoft

川海即时通讯插件助您整合咨询系统,商家可使用桌面版与用户的web版在线交流,提高订单成交。

apache配置:
apache使用.htaccess即可

nginx 配置: server {
listen ***;
server_name domain.com;
root document_root;
index index.php index.html index.htm;

if (!-e $request_filename) {
rewrite ^/(.
) /index.php/$1 last;
}
}

Lighttpd配置: $HTTP["host"] =~ "(www.)?domain.com$" {
url.rewrite = (
"^/(.+)/?$" => "/index.php/$1",
)
}

SAE的配置 (config.yaml)

name: your_app_name
version: 1
handle:
- rewrite: if(!is_dir() && !is_file() && path ~ "^(.*)$" ) goto "/index.php"

app端:

移动web端:

管理端:


川海app:


客服桌面端截图:

chuanhaishop-php-yaf's People

Contributors

chuanhaisoft 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

Watchers

 avatar  avatar  avatar  avatar  avatar

chuanhaishop-php-yaf's Issues

安装完,访问直接报错

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'shop.mall_sort' doesn't exist in /Users/phper/code/shop/lib/Pub/Data.php:160 Stack trace: #0 /Users/phper/code/shop/lib/Pub/Data.php(160): PDOStatement->execute(Array) #1 /Users/phper/code/shop/lib/Dal/MallSort.php(193): Pub\Data::Execute_Column('select count(1)...', Array, NULL) #2 /Users/phper/code/shop/lib/Bll/MallSort.php(94): Dal\MallSort::GetList(0, 2000, 0, '', Array, 'order by ORDER_...', NULL) #3 /Users/phper/code/shop/protected/views/menu.php(18): Bll\MallSort::GetList(1, 2000, Array, 0, '', 'ORDER_NUM ASC') #4 [internal function]: unknown() #5 /Users/phper/code/shop/lib/Pub/Yaf.php(43): Yaf\View\Simple->render('/Users/phper/co...', Array) #6 /Users/phper/code/shop/protected/views/header.php(12): Pub\Yaf::display('menu', Array) #7 [internal function]: unknown() #8 /Users/phper/code/shop/lib/Pub/Yaf.php(43): Yaf\View\Simple->render('/Users/phper/co...', Array) #9 /Users/phper/code/shop/protected/views/pro/index.php(21 in /Users/phper/code/shop/lib/Pub/Data.php on line 160

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.