功能:平台管理员删除商户账号
This commit is contained in:
@@ -195,6 +195,7 @@ func Setup(h *Handlers) *gin.Engine {
|
||||
{
|
||||
admin.GET("/platform/admins", h.User.ListPlatformAdmins)
|
||||
admin.GET("/platform/merchant-accounts", h.User.ListMerchantAccountGroups)
|
||||
admin.DELETE("/platform/merchant-accounts/:id", h.User.DeleteMerchantAccount)
|
||||
admin.POST("/platform/admins", h.User.CreatePlatformAdmin)
|
||||
admin.PATCH("/platform/admins/:id", h.User.UpdatePlatformAdmin)
|
||||
admin.DELETE("/platform/admins/:id", h.User.DeletePlatformAdmin)
|
||||
|
||||
Reference in New Issue
Block a user