【AI开发】三、AI开发目标项目介绍(残端)

作者:Administrator 发布时间: 2026-05-24 阅读量:1 评论数:0

准备材料

  • Linux环境/Windows的Linux子系统
  • OpenCode
  • DeepSeek或者GLM其它厂家模型。
  • git (用于AI备份还源)
  • 残端微信小程序项目源码(无API无后台管理)

实现目标

  • 实现小程序的API功能
  • 给小程序做一个后端管理功能
  • 修复小程序的BUG

功能规划

实现小程序API功能

我这里使用的是opencode,接入了智谱AI的GLM系列模型。

在Linux子系统里面,直接到 /mnt 目录,就可以看到自己windwos主机下的盘符了,非常方便。

# 先切换到小程序源码所在目录。
cd /mnt/g/Gpan/G/web/2024外包/eshop-mp

输出目录如下:

ubuntu@DESKTOP-OCEQVCJ:/mnt/g/Gpan/G/web/2024外包/eshop-mp$ ll
total 12
drwxrwxrwx 1 root root 4096 May 23 00:01 ./
drwxrwxrwx 1 root root 4096 May 23 00:00 ../
drwxrwxrwx 1 root root 4096 May 23 00:26 .git/
-rwxrwxrwx 1 root root  152 May 23 00:01 .gitignore*
drwxrwxrwx 1 root root 4096 May 23 00:31 .idea/
-rwxrwxrwx 1 root root  186 May 23 00:01 .prettierrc.yaml*
-rwxrwxrwx 1 root root 2545 May 23 00:01 app.js*
-rwxrwxrwx 1 root root 1163 May 23 00:01 app.json*
-rwxrwxrwx 1 root root 2253 May 23 00:01 app.wxss*
drwxrwxrwx 1 root root 4096 May 23 00:01 assets/
drwxrwxrwx 1 root root 4096 May 23 00:01 components/
drwxrwxrwx 1 root root 4096 May 23 00:01 config/
drwxrwxrwx 1 root root 4096 May 23 00:01 lib/
drwxrwxrwx 1 root root 4096 May 23 00:01 pages/
-rwxrwxrwx 1 root root  648 May 23 00:01 project.config.json*
-rwxrwxrwx 1 root root  197 May 23 00:01 sitemap.json*
ubuntu@DESKTOP-OCEQVCJ:/mnt/g/Gpan/G/web/2024外包/eshop-mp$

可以看到这个是一个微信小程序的目录结构。

分析项目结构情况

直接提问请阅读当前

评论