12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- import "../base.api"
- type (
-
- LabelTaggingInfo {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- Type *int `json:"type,optional"`
-
- Conditions string `json:"conditions,optional"`
-
- ActionLabelAdd []uint64 `json:"actionLabelAdd,optional"`
-
- ActionLabelDel []uint64 `json:"actionLabelDel,optional"`
- LabelAddInfo []string `json:"labelAddInfo,optional"`
- }
-
- LabelTaggingListResp {
- BaseDataInfo
-
- Data LabelTaggingListInfo `json:"data"`
- }
-
- LabelTaggingListInfo {
- BaseListInfo
-
- Data []LabelTaggingInfo `json:"data"`
- }
-
- LabelTaggingListReq {
- PageInfo
- }
-
- LabelTaggingInfoResp {
- BaseDataInfo
-
- Data LabelTaggingInfo `json:"data"`
- }
- )
- @server(
- jwt: Auth
- group: label_tagging
- middleware: Authority
- )
- service Wechat {
-
- @handler createLabelTagging
- post /label_tagging/create (LabelTaggingInfo) returns (BaseMsgResp)
-
- @handler updateLabelTagging
- post /label_tagging/update (LabelTaggingInfo) returns (BaseMsgResp)
-
- @handler deleteLabelTagging
- post /label_tagging/delete (IDsReq) returns (BaseMsgResp)
-
- @handler getLabelTaggingList
- post /label_tagging/list (LabelTaggingListReq) returns (LabelTaggingListResp)
-
- @handler getLabelTaggingById
- post /label_tagging (IDReq) returns (LabelTaggingInfoResp)
- }
|