当前位置:网站首页>(PHP graduation project) based on thinkphp5 community property management system
(PHP graduation project) based on thinkphp5 community property management system
2022-07-28 06:18:00 【BiShe source code library】
be based on thinkphp5 Community property management system
Community property management system is based on php programing language ,mysql Database and thinkphp5 Framework development BS Architecture system . The system is mainly used by the administrator for the residential property , Real estate , Parking space , Asset and equipment management . This design property management system source code , It's easy to operate , Functional perfection , Good user experience , For a php Graduation design and php Curriculum design reference and learning .
One . Technical environment
php edition : 7.1
php frame :thinkphp5
development tool : notepad++,sublime,phpstorm All right
database : mysql
The server : apache
Integrated environment : phpstudy
The front frame :bootstrap
Detailed technical :HTML+CSS+JS+PHP+MYSQL+PhpStudy+thinkphp5
Two . Project documents

3、 ... and . system function

Four . Code example
<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
class User extends Controller
{
/* Administrator login */
public function login(){
if(request()->isPost()){
$data = input('post.');
// p($data);exit();
// View by user name User Is there such data in the table
$ret = model('Admin')->getUserByUsername($data['username']);
if(!$ret || $ret->status !=1){
$this->error(' The user does not exist ');
}else{
if($ret->password !=md5($data['password'])){
$this->error(' Incorrect password ');
}else{
session('User',$ret,'adminuser');
return $this->success(' Login successful ',url('index/index'));
}
}
}else{
// obtain session The value of the inside , If session It's worth it , Then jump straight to index/index
$user = session('User','','adminuser');
if($user && $user->id){
return $this->redirect(url('index/index'));
}
return $this->fetch();
}
}
/* Exit account */
public function logout(){
session(null,'adminuser');
$this->redirect(url('user/login'));
}
/* Change password page */
public function edit(){
$user = session('User','','adminuser');
if(!$user || !$user->id){
return $this->redirect(url('user/login'));
}else{
$username = $user['username'];
$userId = $user['id'];
return $this->fetch('',[
'username'=>$username,
'userId'=>$userId,
]);
}
}
/* Change Password action*/
public function updatePwd(){
$data = input('post.');
$data['password'] = md5($data['password']);
$result =model('Admin')->save($data,['id'=>intval($data['id'])]);
if($result){
return $this->success(' Modification successful !',url('index/index'));
}else{
return $this->error(' Modification failed !');
}
}
}
5、 ... and . Project screenshots











边栏推荐
- Why is the kotlin language not popular now? What's your opinion?
- ESXi on Arm 10/22 更新
- 生活随机-1
- Model Inversion Attacks that Exploit Confidence Informati on and Basic Countermeasures 阅读心得
- Classification of iris based on Neural Network
- On low resolution face recognition in the wild:comparisons and new technologies
- Cluster operation management system, to answer questions about the process
- EIGamal 密码体制描述
- 深度学习数据窃取攻击在数据沙箱模式下的威胁分析与防御方法研究阅读心得
- File upload vulnerability summary
猜你喜欢

Reversible watermarking method based on difference expansion

Cyclic neural network

Deep learning (incremental learning) - (iccv) striking a balance between stability and plasticity for class incremental learning

一、AMD - OpenVINO环境配置

基于直方图修改的可逆数字水印方法

关于隔离电源断电瞬间MOSFET损坏问题分析

Overview of unconstrained low resolution face recognition II: heterogeneous low resolution face recognition methods

Deep learning - patches are all you need

1、 Speech synthesis and autoregressive model

Interviewer: let you design a set of image loading framework. How would you design it?
随机推荐
Getting started with latex
Classification of iris based on Neural Network
Byte Android post 4 rounds of interviews, received 50k*18 offers, and successfully broke the situation under the layoff
Reinforcement learning - proximal policy optimization algorithms
Neural network optimization
Apache log4j arbitrary code execution replication
一个票据打印实例
《Distilling the Knowledge in a Neural Network》知识蒸馏论文解读
Deep learning (self supervised: Moco V3): An Empirical Study of training self supervised vision transformers
Adaface: quality adaptive margin for face recognition image quality adaptive edge loss for face recognition
Never leave its origin - bluecms1.6 vulnerability of the controller's shooting range
基于差值扩展的可逆水印方法
D2SC-GAN:基于双深浅通道生成对抗网络的课堂场景低分辨率人脸识别
Deep learning (self supervision: simple Siam) -- Exploring simple Siamese representation learning
Deep learning - metaformer is actually what you need for vision
Nsctf web Title writeup
Reading experience of protecting against DNN model steaming attacks
Model inversion attacks that exploit confidence information on and basic countermeasures
使用PowerCli来创建自定义ESXi ISO镜像
利用辅助未标记数据增强无约束人脸识别《Boosting Unconstrained Face Recognition with Auxiliary Unlabeled Data》