service

package
v0.0.0-...-3cd5d6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOfficialAccount

type IOfficialAccount interface {
	Add(request *OfficialAccountRequest) error
	Save(request *OfficialAccountRequest) error
	List(request *OfficialAccountRequest) (*[]model.OfficialAccount, error)
	Detail(request *OfficialAccountRequest) (*model.OfficialAccount, error)
	Delete(request *OfficialAccountRequest) error
	GetModel() interface{}
}

func NewOfficialAccount

func NewOfficialAccount() IOfficialAccount

type OfficialAccount

type OfficialAccount struct {
}

func (*OfficialAccount) Add

func (i *OfficialAccount) Add(request *OfficialAccountRequest) error

Add 添加

func (*OfficialAccount) Delete

func (i *OfficialAccount) Delete(request *OfficialAccountRequest) error

Delete 删除

func (*OfficialAccount) Detail

Detail 详情

func (*OfficialAccount) GetModel

func (i *OfficialAccount) GetModel() interface{}

func (*OfficialAccount) List

func (*OfficialAccount) Save

func (i *OfficialAccount) Save(request *OfficialAccountRequest) error

Save 修改

type OfficialAccountRequest

type OfficialAccountRequest struct {
	pkg.CommonRequest
	ID    int    `form:"id" field:"id" where:"eq" default:"0"`
	Appid string `form:"appid" field:"appid" where:"eq" default:""`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL