Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

scriptscat/scriptlist

Repository files navigation

脚本站

脚本站后端

启动程序

项目依赖很多中间件,推荐使用docker-compose启动,更多的一些配置可以参考cago框架

docker-compose up -d

配置文件

你可以直接将configs/config.yaml.example复制一份为configs/config.yaml,然后运行go run ./cmd/app/main.go

调试

登录用户

你可以在debug模式&dev环境下访问: http://127.0.0.1:8080/api/v2/login/debug 登录uid为1的用户

因为项目与油猴中文网 是强关联的,所以需要你手动新建一个uid为1的用户在pre_common_member

INSERT INTO `pre_common_member` (`uid`, `email`, `username`, `password`, `status`, `emailstatus`, `avatarstatus`,
 `videophotostatus`, `adminid`, `groupid`, `groupexpiry`, `extgroupids`, `regdate`,
 `credits`, `notifysound`, `timeoffset`, `newpm`, `newprompt`, `accessmasks`,
 `allowadmincp`, `onlyacceptfriendpm`, `conisbind`, `freeze`)
VALUES (1, 'admin@scriptcat.org', 'admin', '-----', 0, 1, 1, 0, 1, 1, 0, '', 1625882335, 20, 0, '', 0, 0, 0, 1, 0, 0,
 0);

About

脚本列表后端

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /