Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ceef7a8

Browse filesBrowse files
committed
完善文档
1 parent 7553212 commit ceef7a8
Copy full SHA for ceef7a8

File tree

Expand file treeCollapse file tree

8 files changed

+105
-7
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+105
-7
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
### [2、前端快速部署](front.md)
6161
### [3、关键知识点讲述](knowledge.md)
6262
### [4、业务开发](developer.md)
63-
63+
### [5、系统视频](vedio.md)
6464

6565
## 5、技术支持
6666
> 如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢! ^_^

‎backend/bootstrap/app.php

Copy file name to clipboardExpand all lines: backend/bootstrap/app.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
| the IoC container for the system binding all of the various parts.
1111
|
1212
*/
13+
require __DIR__.'/helpers.php';
1314

1415
$app = new Illuminate\Foundation\Application(
1516
realpath(__DIR__.'/../')

‎backend/bootstrap/helpers.php

Copy file name to clipboardExpand all lines: backend/bootstrap/helpers.php
+74Lines changed: 74 additions & 0 deletions
Large diffs are not rendered by default.

‎backend/database/factories/ModelsTeacherFactory.php

Copy file name to clipboardExpand all lines: backend/database/factories/ModelsTeacherFactory.php
+16-1Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,22 @@
33
use Faker\Generator as Faker;
44

55
$factory->define(App\Models\Teacher::class, function (Faker $faker) {
6+
$arrSex = ['', ''];
7+
$arrPol = ['中共党员','中共预备党员', '共青团员', '民革党员', '民盟盟员', '民建会员', '民进会员', '农工党党员', '致公党党员', '九三学社社员', '台盟盟员', '无党派人士', '群众'];
68
return [
7-
//
9+
'name' => $faker->name,
10+
'sex' => $arrSex[mt_rand(0,count($arrSex)-1)],
11+
'nation_id' => mt_rand(1,56),
12+
'birthday' => $faker->date(),
13+
'work_time' => $faker->date(),
14+
'political' => $arrPol[mt_rand(0, count($arrPol)-1)],
15+
'join_date' => $faker->date(),
16+
'card_id' => get_card_id(),
17+
'phone' => get_phone(),
18+
'phone2' => get_phone() ,
19+
'type' => 1,
20+
'open_id'=> str_random(28),
21+
'state' => 1,
22+
'teaching_id' => mt_rand(1,17)
823
];
924
});

‎developer.md

Copy file name to clipboard
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
## 后端开发
21

3-
### 1、建立模型
4-
~php artisan make:model Models\teacher -all ~

‎frontend/config/dev.env.js

Copy file name to clipboardExpand all lines: frontend/config/dev.env.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ const prodEnv = require('./prod.env')
44

55
module.exports = merge(prodEnv, {
66
NODE_ENV: '"development"',
7-
// BASE_API: '"http://back.test"',
8-
BASE_API: '"https://www.easy-mock.com/mock/5a901b3baad80a47eaa237e8"',
7+
BASE_API: '"http://back.test"'
8+
// BASE_API: '"https://www.easy-mock.com/mock/5a901b3baad80a47eaa237e8"',
99
})

‎frontend/dist/favicon.ico

Copy file name to clipboard
-66.1 KB
Binary file not shown.

‎vedio.md

Copy file name to clipboard
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## 获取方式
2+
> 如果你觉得该项目能够帮助你,同时你也对作者进行了打赏赞助,请联系我,你将得到相关的视频
3+
4+
## 视频内容
5+
>1、项目系统分析
6+
7+
>2、前端项目分析
8+
9+
>3、后端业务扩展
10+
11+
>4、前端业务扩展

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.