# 公司官网 **Repository Path**: weyoungtech/official_website ## Basic Information - **Project Name**: 公司官网 - **Description**: 黑龙江xxxx有限公司官网 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-01-31 - **Last Updated**: 2023-11-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 使用说明 ### 数据库配置 - 数据库版本 mysql5.7 - 数据库服务器 阿里云RDS ``` ip: rm-wz9z0ji8a2yfyr6cwro.mysql.rds.aliyuncs.com port: 3306 username: developer password: Erhui001 数据库名: erhui_official 字符集: UTF-8 ``` 可以用mysql-front等界面管理工具,输入ip/端口/用户名和密码 连接管理 ### 后台程序部署 ``` ip: 39.108.48.22 port: 8080 API: http://39.108.48.22:8080/api/user/xxx ``` ### success回调函数的参数(服务器返回值) - json: ``` { "sessionId": null, "errorCode": 0, "errorMsg": "OK", "data": { "userId": null, "username": "test", "password": "2e826b6bdd762ec921b95dbf9dbddb72", "realName": null, "idCard": null, "birthday": null, "age": null, "sex": null, "address": null, "mobile": null, "telephone": null, "email": null, "type": null, "state": null, "gmtCreate": null, "gmtModified": null } } ``` 说明: json包含状态码和数据两部分。状态码用于判断请求的API是否返回正确的结果。0以外的值都表示有错误,从errorMsg中可以读出错误的提示信息。data为一个用户对象,包含用户名和MD5加密的密码等信息,用于客户端保持登录状态用。 ### 服务器监控网址 ``` http://39.108.48.22:8080/monitor ```