Location>code7788 >text

Java big homework: AI thousand love ten thousand flowers (call api to achieve) the teacher read said steam goose heart (with project)

Popularity:936 ℃/2024-11-12 16:25:36

After writing the py version of ai's wife, the teacher changed the requirements, the big assignment can only be written in Java, and you must use MySQL tools, so you have to rewrite a copy of it 😭.

Ex:/h4o3/p/18523151

(A bit cheap)

The registration and login functions were implemented using MySQL (a teacher's task).

If you start the project from the test_main class, theAbility to skip login and database operations

Starting the project from the MainInterface class starts the full version, which needs to be linked to the database

prprpr

Serving method:

  • Use idea to open the project in the web drive, open the pom file to refresh the dependencies

  • The apiKey at the beginning of the AIApiHandler class needs to be replaced with your own (my api is from the/This site gets it, or you can use your own secret key if you already have one.) If you have your own secret key, you can use your own secret key if you already have one.

  • Start the project from the MainInterface class, the start of the full version, you need to modify the database class, DatabaseManager class in the replacement of the database information, modified to their own address

  • If you start the project from the test_main class, theAbility to skip login and database operationsIf you do not need to set up the DatabaseManager database class, you will not need to set up the DatabaseManager database class.

  • CongInterface and FangInterface are role classes, copy and paste to mass produce other roles.

Project Share:

Link./s/1aVJq0m5lpN3n-YWoDTE5ZQ?pwd=0721 Extract Code: 0721