家具售后

Mike ad26116637 A пре 5 година
app ad26116637 A пре 5 година
bootstrap 7efa87a952 first commit пре 6 година
config f7a44f6629 1 пре 6 година
database 6452c21ac9 1 пре 6 година
public ea4a6b21c6 1 пре 6 година
resources 117272584e 测试 пре 6 година
routes d11565bb77 1 пре 6 година
storage 2faccf9500 1 пре 6 година
tests 7efa87a952 first commit пре 6 година
.DS_Store 32cf85bddf qrcode пре 6 година
.env.example 7efa87a952 first commit пре 6 година
.gitattributes 7efa87a952 first commit пре 6 година
.gitignore b9ac872ffd 图片 пре 6 година
apidoc.json 7efa87a952 first commit пре 6 година
artisan 7efa87a952 first commit пре 6 година
composer.json f7a44f6629 1 пре 6 година
package-lock.json 7efa87a952 first commit пре 6 година
package.json 7efa87a952 first commit пре 6 година
phpunit.xml 7efa87a952 first commit пре 6 година
readme.md 47929d4707 更新 'readme.md' пре 6 година
server.php 7efa87a952 first commit пре 6 година
webpack.mix.js 7efa87a952 first commit пре 6 година

readme.md

安装

  • git clone 到本地
  • 执行 cd,npm install创建好数据库
  • 配置 .env 中数据库连接信息,没有.env请复制.env.example命名为.env
  • 执行 php artisan key:generate
  • 执行 php artisan migrate
  • 执行 php artisan db:seed
  • storage下所有目录 和 bootstrap/cache 目录应该是可写的
  • 键入 '域名/admin/login'(后台登录)
  • 用户名:user1;密码:123456

  • 生成文档 apidoc -i app/Http/Controllers/Api/V1 -o public/apidoc

  • api文档在public/apidoc里面, 也可以看上面的 在线api文档

####注意第一次安装的时候要

USEFUL LINK

##修改数据 update card_banner set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

update card_user_honor set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

update card_user_info set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

update card_user_progress set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

update card_user_project set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

update card_user_trend set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';

扩展插件

sudo apt-get install imagemagick libmagickwand-dev

sudo apt-get install python-gtk2-dev

sudo apt-get install libqt4-dev

sudo apt-get install libv4l-dev

wget http://downloads.sourceforge.NET/project/zbar/zbar/0.10/zbar-0.10.tar.gz

tar -zvxf zbar-0.10.tar.gz

export CFLAGS=""

./configure --disable-video

sudo make && make install

sudo ldconfig

git clone git@github.com:jorissteyn/php-zbarcode.git

git checkout -b php7 origin/gophp7

/usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/php/bin/php-config

make && make install 添加:extension=zbarcode.so 到php.ini配置文件