当前位置:网站首页>Système de gestion - itclub (II)
Système de gestion - itclub (II)
2022-06-27 21:59:00 【Gros yeux (˚ ɷ ◉) Meng】
Système de gestion-ITclub(En bas.)
Auteur:Un bon oeuf.
Objectifs:Terminer le projet
Description:ITclubEst une plate - forme pour les programmeurs pour partager la dynamique de la vie
Catalogue des articles
- Système de gestion-ITclub(En bas.)
- Développement de l'interface d'étiquetage
- Télécharger l'image
- Fin du projet(2022-6-3)
Développement de l'interface d'étiquetage
Idées:Une dynamique peut avoir plusieurs étiquettes,Une étiquette peut également correspondre à plusieurs dynamiques
Créer une table d'étiquettes
CREATE TABLE IF NOT EXISTS `label`(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(10) NOT NULL UNIQUE,
createAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updateAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
Définir l'interface de création d'étiquettes
1. Configuration du routageRouter

2. Vérifier la connexion de l'utilisateur
Middleware(verifyAuthor)
3. Créer une étiquette


Créer des étiquettes et des tables de relations dynamiques
CREATE TABLE IF NOT EXISTS `moment_label`(
moment_id INT NOT NULL,
label_id INT NOT NULL,
createAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updateAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY(moment_id, label_id),
FOREIGN KEY (moment_id) REFERENCES moment(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (label_id) REFERENCES label(id) ON DELETE CASCADE ON UPDATE CASCADE
);
Définir l'interface d'étiquetage dynamique
1. Ajouter une nouvelle interface à Dynamic



2. Étiquetage du contenu dynamique


Interface de l'étiquette de requête
Interrogation de la liste dynamique,Afficher le nombre d'étiquettes

Rechercher les détails dynamiques,Afficher la liste des étiquettes

Télécharger l'image
Télécharger la logique d'image
Besoins:Photos(Documentation)Télécharger /upload/avatar
Objectif: Le serveur peut enregistrer une image
Résolution:Fournir une interface, Permet aux utilisateurs d'obtenir des images —>Oui.URL Stocker dans les informations de l'utilisateur —> Lors de l'obtention de l'information,Obtenir l'image de l'utilisateur
1. Définir l'interface de téléchargement d'images



2. Définir l'interface d'acquisition d'images


3. Lors de la demande d'information de l'utilisateur,Obtenir un portrait

Télécharger des dessins dynamiques
1. Définir l'interface de cartographie dynamique de téléchargement

2. Définir l'interface pour obtenir la cartographie dynamique


3. Obtenir dynamique,Obtenir des informations sur le dessin

Ajouter:Taille de l'image de traitement



Fin du projet(2022-6-3)
边栏推荐
- Go从入门到实战——错误机制(笔记)
- 熊市慢慢,Bit.Store提供稳定Staking产品助你穿越牛熊
- Analysis of stone merging
- Xiao Wang's interview training task
- [LeetCode]动态规划解分割数组II[Arctic Fox]
- [LeetCode]572. 另一棵树的子树
- 年薪50W+的测试大鸟都在用这个:Jmeter 脚本开发之——扩展函数
- win11桌面出現“了解此圖片”如何删除
- Null pointer exception
- [leetcode] dynamic programming solution partition array i[red fox]
猜你喜欢

Go从入门到实战——package(笔记)

Interval DP of Changyou dynamic programming

JVM memory structure when creating objects

我想我要开始写我自己的博客了。

Go from introduction to actual combat -- channel closing and broadcasting (notes)

Burp suite遇到的常见问题

List of language weaknesses --cwe, a website worth learning

使用Jmeter进行性能测试的这套步骤,涨薪2次,升职一次

∫(0→1) ln(1+x) / (x ² + 1) dx

Read write separation master-slave replication of MySQL
随机推荐
Example of using gbase 8A OLAP function group by grouping sets
win11桌面出现“了解此图片”如何删除
JVM memory structure when creating objects
Go from entry to practice - dependency management (notes)
QT base64 encryption and decryption
图解基于AQS队列实现的CountDownLatch和CyclicBarrier
TreeSet details
Common problems encountered by burp Suite
Go从入门到实战——仅执行一次(笔记)
单元测试界的高富帅,Pytest框架,手把手教学,以后测试报告就这么做~
Go從入門到實戰——接口(筆記)
Special training of guessing game
Go from entry to practice - multiple selection and timeout control (notes)
[Sword Offer II]剑指 Offer II 029. 排序的循环链表
Have time to look at ognl expressions
excel读取文件内容方法
Matlab finds the position of a row or column in the matrix
xpath
Go from entry to practice -- CSP concurrency mechanism (note)
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions