承接 ocdladefense/appserver-car 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ocdladefense/appserver-car

Composer 安装命令:

composer require ocdladefense/appserver-car

包简介

A module for viewing and managing case review data.

README 文档

README

Example queries

SELECT id, title, plaintiff, defendant, published_date, decision_date FROM car ORDER BY decision_date DESC;

SELECT * FROM car WHERE year=2022 AND month=2 AND published_date=0000-00-0 ORDER BY day DESC;

UPDATE car SET decision_date = CAST(CONCAT_WS("-",year,month,day) AS DATE) WHERE year=2022 AND month=2 AND published_date=0000-00-0

UPDATE car SET decision_date = 20220224 WHERE year=2022 AND month=2

SELECT CAST(CONCAT_WS("-",year,month,day) AS DATE) FROM car WHERE year=2022 AND month=2

UPDATE car SET decision_date = STR_TO_DATE(CONCAT_WS("-",year,month,day),'%Y-%m,%d') WHERE year=2022 AND month=2 AND published_date=0000-00-0

SELECT id, published_date, decision_date FROM car WHERE year=2022 AND month=2

SELECT CONCAT_WS("-",year,month,day) FROM car WHERE year=2022

Installation

Summary

Installation consists of a PHP executable component and a MySQL database component.

PHP Executable

  1. Clone this repository into your local Appserver's /modules directory.
  2. Rename the newly-downloaded repository directory to car/.
  3. Validate that the config/config.php contains database-related options for setting the database name, username and password.
    • This section should be completed with the values chosen in the "MySQL Database" section, below.

MySQL Database

  1. Identify the data/sql folder and data/sql/car.sql file in this repo.
    • This SQL file contains data to be imported into your Appserver's database.
  2. Open your WAMP --> phpMyAdmin database utility.
  3. Login using the default "superuser" credentials:
    • username: root
    • password: [the default root password is empty]
  4. Familiarize yourself with the user interface.
  5. Create a new database; you can name it anything, but let's give preference to "ocdla."
  6. Optionally, use phpMyAdmin to create an additional user (separate from the root user) with access to the new database.
    • A MySQL user consists of a username, password and a set of privileges for a given database or database.table combination.
  7. Identify the import functionality and either select the car.sql file for upload/import or copy and paste its contents into the phpMyAdmin interface; execute the import.
    • The car.sql imports both the new car table/schema and data (rows) into the database server.
  8. Use phpMyAdmin to browse the newly-imported data; validate that the data from car.sql was imported successfully.
  9. Configure the Appserver's config/config.php database section with the values for database name and username and password.

Validate installation

To validate installation of the car repo + data, navigate to http://appserver/car/list.

Example endpoints - this project

View list of case reviews

https://trust.ocdla.org/car/list

统计信息

  • 总下载量: 223
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固