mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
修改说明文件
This commit is contained in:
90
README.md
90
README.md
@@ -1,37 +1,81 @@
|
|||||||
# ulthon_information
|
# ulthon_information
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
基于奥宏后台模板开发的资讯发表网站
|
奥宏官网后台
|
||||||
|
|
||||||
#### 软件架构
|
#### 软件架构
|
||||||
软件架构说明
|
基于奥宏TP6后台管理模板开发的官网网站.
|
||||||
|
|
||||||
|
[奥宏后台管理模板系统](https://gitee.com/ulthon/ulthon_admin)
|
||||||
|
|
||||||
|
最低支持php7.1
|
||||||
|
|
||||||
|
#### 演示网址
|
||||||
|
|
||||||
|
[在线演示网址](http://ulthon-information.demo.ulthon.com/)
|
||||||
|
|
||||||
|
#### 快速试用教程
|
||||||
|
|
||||||
|
##### 安装好PHP环境
|
||||||
|
|
||||||
|
安装php7.1+,
|
||||||
|
|
||||||
|
安装composer
|
||||||
|
|
||||||
|
不用必须安装nginx,mysql等
|
||||||
|
|
||||||
|
配置好PATH目录,能够直接运行PHP
|
||||||
|
|
||||||
|
[教程参考](http://baidu.apphb.com/?q=php%20%E8%AE%BE%E7%BD%AEpath%E7%8E%AF%E5%A2%83%20windows)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
> 建议安装gitbash [教程参考](http://baidu.apphb.com/?q=windows+%20%E5%AE%89%E8%A3%85gitbash)
|
||||||
|
|
||||||
|
##### 下载代码包
|
||||||
|
|
||||||
|
试用git或者下载压缩包,然后进入项目文件夹.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
#### 快速试用
|
||||||
|
|
||||||
1. xxxx
|
1.安装
|
||||||
2. xxxx
|
git clone https://gitee.com/ulthon/ulthon_information.git
|
||||||
3. xxxx
|
2.进入目录
|
||||||
|
cd ulthon_information/
|
||||||
|
3.安装依赖
|
||||||
|
composer install
|
||||||
|
4.初始化数据库
|
||||||
|
php think migrate:run
|
||||||
|
php think seed:run
|
||||||
|
5.使用内置服务器
|
||||||
|
php think run -p 8010
|
||||||
|
6.访问前台
|
||||||
|
127.0.0.1:8010/index.php/index
|
||||||
|
7.访问后台
|
||||||
|
127.0.0.1:8010/index.php/admin
|
||||||
|
|
||||||
#### 使用说明
|
后台帐号密码:admin/123456
|
||||||
|
|
||||||
1. xxxx
|
[本地测试后台链接](/index.php/admin)
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
如果希望去掉index.php,可以参考tp文档,在nginx或apache环境配置,内置服务器必须带index.php
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
#### 重置密码
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
重置密码为123456.
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
```
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
php think reset_password
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
```
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
|
### 开源协议
|
||||||
|
|
||||||
|
木兰宽松许可证, 第2版
|
||||||
|
|
||||||
|
### 联系我
|
||||||
|
|
||||||
|
QQ群:570927792
|
||||||
@@ -53,6 +53,8 @@ class Post extends Common
|
|||||||
|
|
||||||
$model_post = ModelPost::find($id);
|
$model_post = ModelPost::find($id);
|
||||||
|
|
||||||
|
$model_post
|
||||||
|
|
||||||
View::assign('post', $model_post);
|
View::assign('post', $model_post);
|
||||||
|
|
||||||
return View::fetch();
|
return View::fetch();
|
||||||
|
|||||||
Reference in New Issue
Block a user