家具售后

dyjh 6b65bba37e update api 6 gadi atpakaļ
app 6b65bba37e update api 6 gadi atpakaļ
bootstrap 7efa87a952 first commit 6 gadi atpakaļ
config 6b65bba37e update api 6 gadi atpakaļ
database 6b65bba37e update api 6 gadi atpakaļ
public 6b65bba37e update api 6 gadi atpakaļ
resources 5fe82ac12a add 6 gadi atpakaļ
routes 23bf128878 add 6 gadi atpakaļ
storage 7efa87a952 first commit 6 gadi atpakaļ
tests 7efa87a952 first commit 6 gadi atpakaļ
.DS_Store 32cf85bddf qrcode 6 gadi atpakaļ
.env.example 7efa87a952 first commit 6 gadi atpakaļ
.gitattributes 7efa87a952 first commit 6 gadi atpakaļ
.gitignore 7efa87a952 first commit 6 gadi atpakaļ
apidoc.json 7efa87a952 first commit 6 gadi atpakaļ
artisan 7efa87a952 first commit 6 gadi atpakaļ
composer.json 32cf85bddf qrcode 6 gadi atpakaļ
package-lock.json 7efa87a952 first commit 6 gadi atpakaļ
package.json 7efa87a952 first commit 6 gadi atpakaļ
phpunit.xml 7efa87a952 first commit 6 gadi atpakaļ
readme.md f4f7136da3 furniture 6 gadi atpakaļ
server.php 7efa87a952 first commit 6 gadi atpakaļ
webpack.mix.js 7efa87a952 first commit 6 gadi atpakaļ

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';