/** * @Author: jager * @Email: lhj168os@gmail.com * @File: soup * @Date: 2021/12/31 2:44 下午 * @package: soup * @Version: v1.0.0 * * @Description: * */ package soup import ( "github.com/gin-gonic/gin" "github.com/jageros/hawox/httpx" "idata/internal/apity" "idata/internal/service/user" ) func GetRandSoup(ctx *gin.Context) { if !user.Auth(ctx, apity.Soup) { return } text := getContent() httpx.PkgMsgWrite(ctx, map[string]interface{}{"context": text}) }