You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
package echomeet
|
|
|
|
// @Summary 上报通话记录
|
|
// @Description 上报通话记录
|
|
// @Tags Record
|
|
// @Accept json
|
|
// @Produce json
|
|
// @Security BearerAuth
|
|
// @Param user body pb.EchomeetPutRecordsReq true "请求数据"
|
|
// @Success 200 {object} comm.HttpResult{data=pb.EchomeetPutRecordsResp} "响应数据"
|
|
// @Router /api/home/echomeet_putrecords [post]
|
|
// func (this *apiComp) PutRecords(session comm.IUserSession, req *pb.EchomeetPutRecordsReq) (resp *pb.EchomeetPutRecordsResp, errdata *pb.ErrorData) {
|
|
// var (
|
|
// err error
|
|
// )
|
|
// if len(req.Records) > 0 {
|
|
// if err = this.module.model.saverecords(req.Records); err != nil {
|
|
// errdata = &pb.ErrorData{
|
|
// Code: pb.ErrorCode_DBError,
|
|
// Message: err.Error(),
|
|
// }
|
|
// return
|
|
// }
|
|
// }
|
|
// if len(req.Delids) > 0 {
|
|
// if err = this.module.model.delrecords(req.Delids); err != nil {
|
|
// errdata = &pb.ErrorData{
|
|
// Code: pb.ErrorCode_DBError,
|
|
// Message: err.Error(),
|
|
// }
|
|
// return
|
|
// }
|
|
// }
|
|
// resp = &pb.EchomeetPutRecordsResp{}
|
|
// return
|
|
// }
|
|
|