3 Star 2 Fork 1

fotomxq/weeekj_core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
core.go 516 Bytes
一键复制 编辑 原始数据 按行查看 历史
fotomxq 提交于 2023-12-09 23:58 +08:00 . 维可解框架正式开源
package UserFocus2
import "errors"
//用户关注模块
// checkMark 检查关注行为特征码
func checkMark(mark string) (err error) {
switch mark {
case "focus":
case "like":
case "collection":
default:
err = errors.New("mark not support")
}
return
}
// checkSystem 检查系统来源
func checkSystem(system string) (err error) {
switch system {
case "blog_content":
case "mall_product":
case "user_core":
case "info_exchange":
default:
err = errors.New("system not support")
}
return
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fotomxq/weeekj_core.git
git@gitee.com:fotomxq/weeekj_core.git
fotomxq
weeekj_core
weeekj_core
v5.3.88

搜索帮助