Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0 #1

Open
wants to merge 73 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
c9531e6
Add files via upload
derjeoy Nov 9, 2021
0e21192
1
derjeoy Nov 9, 2021
0799f04
2
derjeoy Nov 9, 2021
fa31b10
Update .gitignore
derjeoy Nov 9, 2021
483ba0e
1
derjeoy Nov 9, 2021
3797947
Update README.md
derjeoy Nov 9, 2021
d03a5ad
add listing page
derjeoy Nov 9, 2021
9e0a466
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Nov 9, 2021
f5dc09c
add menu
derjeoy Nov 10, 2021
cb32e2b
1110 night
derjeoy Nov 10, 2021
3406fbb
Update ListingSummaryController.php
derjeoy Nov 11, 2021
77add34
Update ListingSummaryController.php
derjeoy Nov 12, 2021
8995a84
1
derjeoy Nov 13, 2021
baf82b8
1
derjeoy Nov 15, 2021
8bbb4df
select 联动
derjeoy Nov 16, 2021
c61d6a5
modiy table_listing
derjeoy Nov 17, 2021
b579de1
add profit
derjeoy Nov 17, 2021
72b6f13
1
derjeoy Nov 18, 2021
a7a1f0b
modify listing page
derjeoy Nov 18, 2021
fab807a
add fc address / add inventory out
derjeoy Nov 19, 2021
7cf5f88
Update stephen.sql
derjeoy Nov 19, 2021
2d35c14
add upload button
derjeoy Nov 22, 2021
b5f8fab
Update stephen.sql
derjeoy Nov 22, 2021
2b4b00a
1
derjeoy Nov 22, 2021
52ec70e
Update TableListingController.php
derjeoy Nov 23, 2021
4174067
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Nov 23, 2021
d36cd04
1
derjeoy Nov 23, 2021
c19372e
1
derjeoy Nov 24, 2021
1f6505e
Update stephen.sql
derjeoy Nov 24, 2021
5816e2c
Update README.md
derjeoy Nov 25, 2021
1784359
add currency
derjeoy Nov 25, 2021
3e551db
Update README.md
derjeoy Nov 25, 2021
6d1f093
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Nov 25, 2021
07738d7
1
derjeoy Nov 26, 2021
87481f2
add purchase order
derjeoy Nov 28, 2021
77246b9
Update README.md
derjeoy Nov 29, 2021
c010b0c
add world time on title
derjeoy Nov 29, 2021
7fd385b
1
derjeoy Nov 29, 2021
96bb5a6
add currency time
derjeoy Nov 29, 2021
18c55f6
add rowaction & modify picture & add uploadfile
derjeoy Nov 30, 2021
9ee6cd2
Update README.md
derjeoy Nov 30, 2021
e90a4d0
modify download PDF
derjeoy Nov 30, 2021
4d766a7
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Dec 1, 2021
369324c
add download module
derjeoy Dec 1, 2021
6739b35
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Dec 1, 2021
5e43094
add order haimai ceping promotion
derjeoy Dec 2, 2021
3946a31
add demand
derjeoy Dec 2, 2021
2fdfcaa
add salesummary interest
derjeoy Dec 3, 2021
8f8b59f
Update stephen.sql
derjeoy Dec 3, 2021
ad01b5f
1
derjeoy Dec 6, 2021
021cc1b
1
derjeoy Dec 6, 2021
8b2c154
2
derjeoy Dec 6, 2021
6835478
Update stephen.sql
derjeoy Dec 6, 2021
c790a75
1
derjeoy Dec 6, 2021
df2d99b
1
derjeoy Dec 7, 2021
2ecf3eb
Update stephen.sql
derjeoy Dec 7, 2021
dfadace
1
derjeoy Dec 7, 2021
03b13ad
1
derjeoy Dec 7, 2021
2c5eb73
1
derjeoy Dec 10, 2021
122cf84
1
derjeoy Dec 11, 2021
f7c6429
Merge branch '1.0' of https://github.com/derjeoy/dcat-admin-inventory…
derjeoy Dec 11, 2021
a4ae08e
1
derjeoy Dec 14, 2021
2aa062c
1
derjeoy Dec 14, 2021
6c52fb5
delete useless code
derjeoy Dec 15, 2021
7ec2ccd
add register user function
derjeoy Dec 15, 2021
a02ae89
modify register
derjeoy Dec 15, 2021
aef42d3
add register add pictures
derjeoy Dec 18, 2021
eafc481
1
derjeoy Dec 19, 2021
f56f41b
modify upload and import
derjeoy Jan 3, 2022
01825a7
product
derjeoy Jan 22, 2022
b8acbcb
去掉赛合ID,自己数据库
derjeoy Apr 26, 2022
da944d8
发货表 链接表 发货链接关系表操作 OK
derjeoy May 10, 2022
83abb6e
add amazon asin keyword tool
derjeoy Oct 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2
45 changes: 45 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:bX6Fa5y3BcTGNaM36O4a3/aj58bSc7T5zD5kmFpcMog=
APP_DEBUG=true
APP_URL=http://erp.wanqian.tech

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=stephen
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
TIMEZONE=Asia/Shanghai
44 changes: 44 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
28 changes: 7 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
/vendor/
node_modules/
/node_modules
/public/hot
/vendor
.phpunit.result.cache
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log

# Laravel 4 specific
bootstrap/compiled.php
app/storage/

# Laravel 5 & Lumen specific
public/storage
public/hot

# Laravel 5 & Lumen specific with changed public path
public_html/storage
public_html/hot

storage/*.key
.env
Homestead.yaml
Homestead.json
/.vagrant
.phpunit.result.cache
/.idea
13 changes: 13 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
php:
preset: laravel
disabled:
- unused_use
finder:
not-name:
- index.php
- server.php
js:
finder:
not-name:
- webpack.mix.js
css: true
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Jiang qinghua

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
162 changes: 160 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,160 @@
# dcat-admin-inventory
基于DCAT ADMIN的库存管理系统
# Dcat Admin

本项目是[Dcat Admin](https://github.com/jqhph/dcat-admin)的DEMO源码,在线预览[点击这里](http://103.39.211.179:8080/admin)。


仓库地址

- Github [https://github.com/jqhph/dcat-admin-demo](https://github.com/jqhph/dcat-admin-demo)
- Gitee [https://gitee.com/jqhph/dcat-admin-demo](https://gitee.com/jqhph/dcat-admin-demo)

## 安装

运行
```shell
composer install
```

安装完之后,复制一份`.env.example`文件并命名为`.env`,然后运行
```shell
php artisan key:generate
```

然后配置好数据库连接信息运行以下命令

> 这里会提示文件夹已存在,忽略即可。

```php
php artisan admin:install
```

最后运行`php artisan serve`。然后打开`http://localhost:8000/admin`即可访问,账号`admin`,密码`admin`。



## 亚马逊反爬
https://www.sohu.com/a/285133490_759197

## Laravel 表单
https://blog.csdn.net/hualaoshuan/article/details/98481204?ops_request_misc=&request_id=&biz_id=&utm_medium=distribute.pc_search_result.none-task-blog-2~all~es_rank~default-20-98481204.pc_search_all_es&utm_term=laravel&spm=1018.2226.3001.4187

## Laravel8开荒~正确安装前端Bootstrap CSS库
https://learnku.com/articles/49892

## python3爬虫实战之selenium爬取亚马逊商品 - 改邮编
https://blog.csdn.net/weixin_39020133/article/details/105966388


## PHP调用Python和PHP向Python发送数据
https://blog.csdn.net/qq_37035946/article/details/91492379



## 基于 Laravel 构建的适用于小公司和自由职业者的免费在线财务会计系统 —— Akaunting
https://laravelacademy.org/post/9483.html


## 基于 Laravel 构建的免费、开源 CRM 平台 —— Flarepoint
https://laravelacademy.org/post/5305.html

## laravel-admin / Dcat admin 上传Excel并导入数据到数据库
https://blog.csdn.net/qq_42468039/article/details/108277599

## Laragon工具
git config --global http.sslVerify "false"
Github
[email protected]
302019csf
githun token:githun123 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

php artisan key:generate

php -S 127.0.0.1:8000 -t ./ -f serve.php

php artisan sample-data:seed

php artisan install --db-host=localhost --db-name=akaunting --db-username=root --db-password= --company-name=Stephen

php artisan migrate

详情看
vendor
------dcat
----------laravel-admin
------------------------redame.md




## 遇到问题
、、、
1.不能RUI访问本地图片或文件
执行命令:php artisan storage:link
命令执行完毕后,就会在项目里多出一个 public/storage,
这个 storage 就是一个软链接,它指向 storage/app/public 目录。
public/storage(软连接) → storage/app/public
然后就可以用地址直接访问public里面的照片了
、、、
2.php artisan admin:install执行这一步命令可能会报以下错误 Specified key was too long ... 767 bytes,如果出现这个报错。
请在 app/Providers/AppServiceProvider.php 文件的 boot方法中加上代码
\Schema::defaultStringLength(191);,
然后删除掉数据库中的所有数据表,再重新运行一遍 php artisan admin:install 命令即可。
、、、


数据库table操作
http://new.xiaosongit.com/article/805.html


内网穿透
https://natapp.cn/

Discover ERP DEMO
http://erp.you-tang.com/admin/products

Dcat Admin Demo
http://103.39.211.179:8080/admin


laravel Admin
https://laravel-admin.org/docs/en/model-grid-quick-create#Select


Laravel Currency
https://github.com/amrshawky/laravel-currency

Dcat 图片插件
https://github.com/de-memory/dcat-media-selector

Laravel 视频教程
https://github.com/johnlui/Learn-Laravel-5


3D 头像 Meta 元宇宙
https://readyplayer.me/avatar
https://docs.readyplayer.me/integration-guides/web
https://github.com/readyplayerme/Example-iframe
https://github.com/readyplayerme

世界时间
https://carbon.nesbot.com/docs/
https://www.jb51.net/article/124259.htm
时区对照表:https://learnku.com/articles/39628


1.选中列导出按钮
2.添加文件上传按钮、添加文件下载按钮
3.单位换算

分页条件记忆
https://gitee.com/jqhph/dcat-admin/issues/I3H2KO

亚马逊仓库
http://www.jiufanglogistics.cn/channel/1/fbackfbt

dcat媒体管理
https://github.com/deatil/dcat-form-media
https://github.com/de-memory/dcat-media-selector

ICON
https://fontawesome.com/v5.15/icons?d=gallery&p=2
33 changes: 33 additions & 0 deletions app/Admin/Actions/AdminSetting.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

namespace App\Admin\Actions;

use App\Admin\Forms\AdminSetting as AdminSettingForm;
use Dcat\Admin\Actions\Action;
use Dcat\Admin\Widgets\Modal;

class AdminSetting extends Action
{
/**
* @return string
*/
protected $title = '<i class="feather icon-edit" style="font-size: 1.5rem"></i> 网站设置';

public function render()
{
$modal = Modal::make()
->id('admin-setting-config') // 导航栏显示弹窗,必须固定ID,随机ID会在刷新后失败
->title($this->title())
->body(AdminSettingForm::make())
->lg()
->button(
<<<HTML
<ul class="nav navbar-nav">
<li class="nav-item"> &nbsp;{$this->title()} &nbsp;</li>
</ul>
HTML
);

return $modal->render();
}
}
Loading