宿舍报修系统基于易班开发平台版本开源|赛邮分享

Connor oKex交易所 2024-09-09 13 0

由于最近有朋友需要,于是就将本系统开源了,这次的系统写的比较仓促所以很多东西在前端写死了,不能通过后台修改,emmmm,期待V2.0的版本吧,打算v2.0版本使用thinkphp重写。

github:宿舍报修系统开源地址

宿舍报修系v1.0(php+mysql)统安装说明

功能说明

一、安装说明

0、使用前需要将本目录下的sql文件导入数据库,注意,需支持utf8mb4编码推荐数据库版本mysql5.6

1、修改文件config.php中的数据库信息

代码语言:javascript

复制

<?php error_reporting(0); //数据库主机地址 $mysql_host = 'localhost'; //数据库用户名 $mysql_user = ''; //数据库密码 $mysql_pwd = ''; //数据库名 $mysql_db = '';

2、修改易班登录接口以及回调地址涉及的文件如下

index.php 第4行 第18行

myhouse.php 第12行

operate.php 第12行

question.php 第4行

submit.php 第13行

其中index.php的第四行为一般登录接口的回调地址格式如下

代码语言:javascript

复制

header('location:');

关于appID以及站内地址都可以在易班品台应用详细下看到

3、关于短信通知接口不在说明,使用的是submail的邮件发送,需要了解的请去submail官网查看。配置文件在submail目录下的app_config.php我没有做任何修改,直接用的submail官方提供的sdk。

展开全文

order.php 第50行为发送短信的短信模板ID admin/operate.php 第32行修改为发送短信的模板ID

注意: $submail->AddVar('floor',$floor);中的floor为短信模板中的自定义变量,详细信息请看submail官方文档,submail短信发送服务是收费的。

代码语言:javascript

复制

$submail->SetProject('发送短信模板ID');

代码语言:javascript

复制

mcrypt_decrypt(MCRYPT_RIJNDAEL_128, '这里改为AppSecret', $postStr, MCRYPT_MODE_CBC, '这里改为AppID');

AppID和AppSecre可以在 管理中心->应用详细查看

三、项目结构

C:\USERS\RLDS\DOWNLOADS\ROOM

│ config.php

│ index.php

│ log.txt

│ logo.png

│ myhouse.php

│ operate.php

│ order.php

│ question.php

│ submit.php

├─admin

│ │ addPerson.php

│ │ admin.php

│ │ changehouse.php

│ │ data.php

│ │ deletePerson.php

│ │ download.php

│ │ history.php

│ │ index.php

│ │ login.php

│ │ Loginverify.php

│ │ operate.php

│ │ person.php

│ ├─css

│ │ │ adminia-responsive.css

│ │ │ adminia.css

│ │ │ bootstrap-responsive.min.css

│ │ │ bootstrap.min.css

│ │ │ font-awesome.css

│ │ └─pages

│ │ dashboard.css

│ │ faq.css

│ │ login.css

│ │ plans.css

│ ├─font

│ │ fontawesome-webfont.eot

│ │ fontawesome-webfont.svg

│ │ fontawesome-webfont.svgz

│ │ fontawesome-webfont.ttf

│ │ fontawesome-webfont.woff

│ │ fontawesome-webfont_162a16fe.eot

│ ├─img

│ │ body-bg.png

│ │ headshot.jpg

│ └─js

│ │ bootstrap.js

│ │ excanvas.min.js

│ │ faq.js

│ │ jquery-1.7.2.min.js

│ │ jquery-1.7.2.min_74e92c4.js

│ │ jquery.flot.js

│ │ jquery.flot.orderBars.js

│ │ jquery.flot.pie.js

│ │ jquery.flot.resize.js

│ └─charts

│ area.js

│ bar.js

│ line.js

│ pie.js

├─class

│ │ export.php

│ │ PHPExcel.php

│ │ Template.xls

│ │ Template1.xls

│ │ Template2.xls

│ │ Template3.xls

│ └─PHPExcel

│ │ Autoloader.php

│ │ CachedObjectStorageFactory.php

│ │ Calculation.php

│ │ Cell.php

│ │ Chart.php

│ │ Comment.php

│ │ DocumentProperties.php

│ │ DocumentSecurity.php

│ │ Exception.php

│ │ HashTable.php

│ │ IComparable.php

│ │ IOFactory.php

│ │ NamedRange.php

│ │ ReferenceHelper.php

│ │ RichText.php

│ │ Settings.php

│ │ Style.php

│ │ Worksheet.php

│ │ WorksheetIterator.php

│ ├─CachedObjectStorage

│ │ APC.php

│ │ CacheBase.php

│ │ DiscISAM.php

│ │ ICache.php

│ │ Igbinary.php

│ │ Memcache.php

│ │ Memory.php

│ │ MemoryGZip.php

│ │ MemorySerialized.php

│ │ PHPTemp.php

│ │ SQLite.php

│ │ SQLite3.php

│ │ Wincache.php

│ ├─CalcEngine

│ │ CyclicReferenceStack.php

│ │ Logger.php

│ ├─Calculation

│ │ │ Database.php

│ │ │ DateTime.php

│ │ │ Engineering.php

│ │ │ Exception.php

│ │ │ ExceptionHandler.php

│ │ │ Financial.php

│ │ │ FormulaParser.php

│ │ │ FormulaToken.php

│ │ │ Function.php

│ │ │ functionlist.txt

│ │ │ Functions.php

│ │ │ Logical.php

│ │ │ LookupRef.php

│ │ │ MathTrig.php

│ │ │ Statistical.php

│ │ │ TextData.php

│ │ └─Token

│ │ Stack.php

│ ├─Cell

│ │ AdvancedValueBinder.php

│ │ DataType.php

│ │ DataValidation.php

│ │ DefaultValueBinder.php

│ │ Hyperlink.php

│ │ IValueBinder.php

│ ├─Chart

│ │ │ Axis.php

│ │ │ DataSeries.php

│ │ │ DataSeriesValues.php

│ │ │ Exception.php

│ │ │ GridLines.php

│ │ │ Layout.php

│ │ │ Legend.php

│ │ │ PlotArea.php

│ │ │ Properties.php

│ │ │ Title.php

│ │ └─Renderer

│ │ jpgraph.php

│ │ PHP Charting Libraries.txt

│ ├─Helper

│ │ HTML.php

│ ├─locale

│ │ ├─bg

│ │ │ config

│ │ ├─cs

│ │ │ config

│ │ │ functions

│ │ ├─da

│ │ │ config

│ │ │ functions

│ │ ├─de

│ │ │ config

│ │ │ functions

│ │ ├─en

│ │ │ └─uk

│ │ │ config

│ │ ├─es

│ │ │ config

│ │ │ functions

│ │ ├─fi

│ │ │ config

│ │ │ functions

│ │ ├─fr

│ │ │ config

│ │ │ functions

│ │ ├─hu

│ │ │ config

│ │ │ functions

│ │ ├─it

│ │ │ config

│ │ │ functions

│ │ ├─nl

│ │ │ config

│ │ │ functions

│ │ ├─no

│ │ │ config

│ │ │ functions

│ │ ├─pl

│ │ │ config

│ │ │ functions

│ │ ├─pt

│ │ │ │ config

│ │ │ │ functions

│ │ │ └─br

│ │ │ config

│ │ │ functions

│ │ ├─ru

│ │ │ config

│ │ │ functions

│ │ ├─sv

│ │ │ config

│ │ │ functions

│ │ └─tr

│ │ config

│ │ functions

│ ├─Reader

│ │ │ Abstract.php

│ │ │ CSV.php

│ │ │ DefaultReadFilter.php

│ │ │ Excel2003XML.php

│ │ │ Excel2007.php

│ │ │ Excel5.php

│ │ │ Exception.php

│ │ │ Gnumeric.php

│ │ │ HTML.php

│ │ │ IReader.php

│ │ │ IReadFilter.php

│ │ │ OOCalc.php

│ │ │ SYLK.php

│ │ ├─Excel2007

│ │ │ Chart.php

│ │ │ Theme.php

│ │ └─Excel5

│ │ │ Color.php

│ │ │ ErrorCode.php

│ │ │ Escher.php

│ │ │ MD5.php

│ │ │ RC4.php

│ │ ├─Color

│ │ │ BIFF5.php

│ │ │ BIFF8.php

│ │ │ BuiltIn.php

│ │ └─Style

│ │ Border.php

│ │ FillPattern.php

│ ├─RichText

│ │ ITextElement.php

│ │ Run.php

│ │ TextElement.php

│ ├─Shared

│ │ │ CodePage.php

│ │ │ Date.php

│ │ │ Drawing.php

│ │ │ Escher.php

│ │ │ Excel5.php

│ │ │ File.php

│ │ │ Font.php

│ │ │ OLE.php

│ │ │ OLERead.php

│ │ │ PasswordHasher.php

│ │ │ String.php

│ │ │ TimeZone.php

│ │ │ XMLWriter.php

│ │ │ ZipArchive.php

│ │ │ ZipStreamWrapper.php

│ │ ├─Escher

│ │ │ │ DgContainer.php

│ │ │ │ DggContainer.php

│ │ │ ├─DgContainer

│ │ │ │ │ SpgrContainer.php

│ │ │ │ └─SpgrContainer

│ │ │ │ SpContainer.php

│ │ │ └─DggContainer

│ │ │ │ BstoreContainer.php

│ │ │ └─BstoreContainer

│ │ │ │ BSE.php

│ │ │ └─BSE

│ │ │ Blip.php

│ │ ├─JAMA

│ │ │ │ CHANGELOG.TXT

│ │ │ │ CholeskyDecomposition.php

│ │ │ │ EigenvalueDecomposition.php

│ │ │ │ LUDecomposition.php

│ │ │ │ Matrix.php

│ │ │ │ QRDecomposition.php

│ │ │ │ SingularValueDecomposition.php

│ │ │ └─utils

│ │ │ Error.php

│ │ │ Maths.php

│ │ ├─OLE

│ │ │ │ ChainedBlockStream.php

│ │ │ │ PPS.php

│ │ │ └─PPS

│ │ │ File.php

│ │ │ Root.php

│ │ ├─PCLZip

│ │ │ gnu-lgpl.txt

│ │ │ pclzip.lib.php

│ │ │ readme.txt

│ │ └─trend

│ │ bestFitClass.php

│ │ exponentialBestFitClass.php

│ │ linearBestFitClass.php

│ │ logarithmicBestFitClass.php

│ │ polynomialBestFitClass.php

│ │ powerBestFitClass.php

│ │ trendClass.php

│ ├─Style

│ │ Alignment.php

│ │ Border.php

│ │ Borders.php

│ │ Color.php

│ │ Conditional.php

│ │ Fill.php

│ │ Font.php

│ │ NumberFormat.php

│ │ Protection.php

│ │ Supervisor.php

│ ├─Worksheet

│ │ │ AutoFilter.php

│ │ │ BaseDrawing.php

│ │ │ CellIterator.php

│ │ │ Column.php

│ │ │ ColumnCellIterator.php

│ │ │ ColumnDimension.php

│ │ │ ColumnIterator.php

│ │ │ Dimension.php

│ │ │ Drawing.php

│ │ │ HeaderFooter.php

│ │ │ HeaderFooterDrawing.php

│ │ │ MemoryDrawing.php

│ │ │ PageMargins.php

│ │ │ PageSetup.php

│ │ │ Protection.php

│ │ │ Row.php

│ │ │ RowCellIterator.php

│ │ │ RowDimension.php

│ │ │ RowIterator.php

│ │ │ SheetView.php

│ │ ├─AutoFilter

│ │ │ │ Column.php

│ │ │ └─Column

│ │ │ Rule.php

│ │ └─Drawing

│ │ Shadow.php

│ └─Writer

│ │ Abstract.php

│ │ CSV.php

│ │ Excel2007.php

│ │ Excel5.php

│ │ Exception.php

│ │ HTML.php

│ │ IWriter.php

│ │ OpenDocument.php

│ │ PDF.php

│ ├─Excel2007

│ │ Chart.php

│ │ Comments.php

│ │ ContentTypes.php

│ │ DocProps.php

│ │ Drawing.php

│ │ Rels.php

│ │ RelsRibbon.php

│ │ RelsVBA.php

│ │ StringTable.php

│ │ Style.php

│ │ Theme.php

│ │ Workbook.php

│ │ Worksheet.php

│ │ WriterPart.php

│ ├─Excel5

│ │ BIFFwriter.php

│ │ Escher.php

│ │ Font.php

│ │ Parser.php

│ │ Workbook.php

│ │ Worksheet.php

│ │ Xf.php

│ ├─OpenDocument

│ │ │ Content.php

│ │ │ Meta.php

│ │ │ MetaInf.php

│ │ │ Mimetype.php

│ │ │ Settings.php

│ │ │ Styles.php

│ │ │ Thumbnails.php

│ │ │ WriterPart.php

│ │ └─Cell

│ │ Comment.php

│ └─PDF

│ Core.php

│ DomPDF.php

│ mPDF.php

│ tcPDF.php

├─img

│ pic1.jpg

│ pic2.jpg

│ pic3.jpg

│ pic4.jpg

│ pic5.jpg

└─submail

│ app_config.php

│ composer.json

│ SUBMAILAutoload.php

└─lib

.DS_Store

addressbookmail.php

addressbookmessage.php

internationalsmsmultixsend.php

internationalsmssend.php

internationalsmsxsend.php

intersms.php

mail.php

mailsend.php

mailxsend.php

message.php

messagelog.php

messagemultixsend.php

messagesend.php

messagetemplatedelete.php

messagetemplateget.php

messagetemplatepost.php

messagetemplateput.php

messagexsend.php

mobiledata.php

mobiledatacharge.php

mobiledatapackage.php

mobiledatatoservice.php

multi.php

voice.php

voicemultixsend.php

voicesend.php

voiceverify.php

voicexsend.php

评论