完成社会服务业务层代码
This commit is contained in:
@@ -6,13 +6,13 @@ package socialService
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/JACKYMYPERSON/hldrCenter/config"
|
||||
"github.com/JACKYMYPERSON/hldrCenter/internal/social_service/internal/logic/socialService"
|
||||
"github.com/JACKYMYPERSON/hldrCenter/internal/social_service/internal/svc"
|
||||
"github.com/JACKYMYPERSON/hldrCenter/internal/social_service/internal/types"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
)
|
||||
|
||||
func DeleteSocialServiceHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
func DeleteSocialServiceHandler(cfg *config.Config) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
var req types.DeleteSocialServiceReq
|
||||
if err := httpx.Parse(r, &req); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user