当前位置: 首页 > 工具软件 > 简单图床 > 使用案例 >

php做个简单的图床api,写了一个基于 API 的简单图床 AUXPI

何麻雀
2023-12-01

新浪图床没开放呢,还有能直接粘贴上传方便了

需要先安装bee go get -u github.com/beego/bee https://beego.me/docs/intro/

$ bee run auxpi

______

| ___ \

| |_/ / ___ ___

| ___ \ / _ \ / _ \

| |_/ /| __/| __/

\____/ \___| \___| v1.10.0

2018/11/08 16:46:57 INFO ▶ 0001 Using 'auxpi' as 'appname'

2018/11/08 16:46:57 INFO ▶ 0002 Initializing watcher...

auxpiAll\all_easyjson.go:7:2: cannot find package "github.com/mailru/easyjson" i n any of:

go get -u github.com/mailru/easyjson 然后

$ bee run auxpi

______

| ___ \

| |_/ / ___ ___

| ___ \ / _ \ / _ \

| |_/ /| __/| __/

\____/ \___| \___| v1.10.0

2018/11/08 16:52:59 INFO ▶ 0001 Using 'auxpi' as 'appname'

2018/11/08 16:52:59 INFO ▶ 0002 Initializing watcher...

auxpi/auxpiAll/e

github.com/astaxie/beego/cache

auxpi/auxpiAll

auxpi/bootstrap

auxpi/controllers

auxpi/server

auxpi/utils

auxpi/controllers/upload

auxpi/controllers/api

auxpi/routers

# auxpi/routers

routers\commentsRouter_______go_src_auxpi_controllers.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:25:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:34:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:43:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers_upload.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:25:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:34:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:43:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers_upload.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers_upload.go:16:13: too many errors

2018/11/08 16:53:01 ERROR ▶ 0003 Failed to build the application: # auxpi/routers

routers\commentsRouter_______go_src_auxpi_controllers.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:25:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:34:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers.go:43:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_______go_src_auxpi_controllers_upload.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:25:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:34:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers.go:43:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers_upload.go:16:13: unknown field 'Filters' in struct literal of type beego.ControllerComments

routers\commentsRouter_controllers_upload.go:16:13: too many errors

咋办?对go不熟悉,不支持win吗

 类似资料: