1 Star 0 Fork 0

dabolau/lakaiService

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

拉开接口

拉开接口是款影视后端程序,为影视点播提供服务。

首页信息

地址 方法 参数
/ GET
/404 GET

帐号信息

地址 方法 参数
/account/ GET
/account/login POST Username Password
/account/register POST Username Email Phone Password
/account/changepassword POST Username Password NewPassword ConfirmPassword
/account/getpassword POST Email
/account/logout POST

用户信息

地址 方法 参数
/user?text=&size=10&page=1 GET text size page
/user/detail?id=1 GET id
/user/add POST Username Email Phone Password Nickname Description
/user/change?id=1 POST id Username Email Phone Password Nickname Description
/user/delete?id=1 POST id

用户信息需要验证令牌后才能操作

视频信息

地址 方法 参数
/video/?text=&category=&type=&area=&year=&size=10&page=1 GET text category type area year size page
/video/detail?id=1 GET id
/video/add POST Name Type Area Year Actor Director Status Description URL
/video/change?id=1 POST id Name Type Area Year Actor Director Status Description URL
/video/delete?id=1 POST id

资源信息

地址 方法 参数
/url/?text=&video=&size=10&page=1 GET text video size page
/url/detail?id=1 GET id
/url/add POST Name Video Tag URL
/url/change?id=1 POST id Name Video Tag URL
/url/delete?id=1 POST id

意见信息

地址 方法 参数
/feedback?text=&size=10&page=1 GET text size page
/feedback/detail?id=1 GET id
/feedback/add POST Name Description Email
/feedback/change?id=1 POST id Name Description Email
/feedback/delete?id=1 POST id

版本信息

地址 方法 参数
/version?text=&size=10&page=1 GET text size page
/version/detail?id=1 GET id
/version/add POST Name Version Description URL
/version/change?id=1 POST id Name Version Description URL
/version/delete?id=1 POST id

运行程序

  • 构建可执行文件
go build -o lakaiService
  • 运行可执行文件
./lakaiService

运行程序(dockerfile)

在执行下面操作时需要先安装好 docker

  • 构建镜像
docker build -t lakai-service:latest .
  • 运行容器
docker run -d -p 8080:8080 --name lakai-service lakai-service:latest

运行程序(docker-compose)

在执行下面操作时需要先安装好 docker-compose

  • 运行容器
docker-compose up -d
MIT License Copyright (c) 2021 dabolau Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

拉开接口 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/dabolau/lakaiService.git
git@gitee.com:dabolau/lakaiService.git
dabolau
lakaiService
lakaiService
master

搜索帮助

Cb406eda 1850385 E526c682 1850385