| | |
| | | package com.ard.tianyu.http; |
| | | |
| | | import com.ard.tianyu.model.dto.BoxHistoryDTO; |
| | | import com.ard.tianyu.model.dto.BoxPhotosDTO; |
| | | import com.ard.tianyu.model.dto.TokenDTO; |
| | | import com.ard.tianyu.model.receiver.AccessTokenReceiver; |
| | | import com.ard.tianyu.model.receiver.BoxReceiver; |
| | | import com.ard.tianyu.model.receiver.TyHttpCommonReceiver; |
| | | import com.ard.tianyu.model.receiver.*; |
| | | import com.dtflys.forest.annotation.*; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | @Get(TyConst.GET_BOX_LIST) |
| | | TyHttpCommonReceiver<List<BoxReceiver>> getBoxList(@Header Map<String, String> headers); |
| | | } |
| | | |
| | | @Get(TyConst.GET_BOX_LIVE_URL) |
| | | TyHttpCommonReceiver<PullStreamUrlReceiver> getBoxLiveUrl(@Var("boxSn") String boxSn, @Header Map<String, String> headers); |
| | | |
| | | @Post(TyConst.POST_BOX_HISTORY) |
| | | TyHttpCommonReceiver<List<BoxHistoryReceiver>> getBoxHistory(@JSONBody BoxHistoryDTO boxHistoryDTO, @Header Map<String, String> headers); |
| | | |
| | | @Post(TyConst.POST_BOX_PHOTOS) |
| | | TyHttpCommonReceiver<List<BoxPhotosReceiver>> getBoxPhotos(@JSONBody BoxPhotosDTO boxPhotosDTO, @Header Map<String, String> headers); |
| | | } |