|
@@ -10,6 +10,7 @@ import com.oqpo.api.web.dto.response.SelectResponse;
|
10
|
10
|
import com.oqpo.api.web.dto.response.pomng.pchReq.PchReqInfoResponse;
|
11
|
11
|
import com.oqpo.api.web.dto.response.pomng.pchReq.PchReqInitInfoResponse;
|
12
|
12
|
import com.oqpo.api.web.dto.response.pomng.pchReq.PchReqRejectTargetResponse;
|
|
13
|
+import com.oqpo.api.web.dto.response.pomng.pchReq.WishMasterSaveResponse;
|
13
|
14
|
import io.swagger.annotations.Api;
|
14
|
15
|
import io.swagger.annotations.ApiImplicitParam;
|
15
|
16
|
import io.swagger.annotations.ApiImplicitParams;
|
|
@@ -193,20 +194,21 @@ public class PchReqController {
|
193
|
194
|
@ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header"),
|
194
|
195
|
@ApiImplicitParam(name = "wishlistMgntNo", value = "위시리스트번호", required = false, dataType = "String", paramType = "query"),
|
195
|
196
|
@ApiImplicitParam(name = "wishlistNm", value = "위시리스트명", required = true, dataType = "String", paramType = "query"),
|
196
|
|
- @ApiImplicitParam(name = "storeId", value = "매장코드", required = true, dataType = "String", paramType = "query")
|
|
197
|
+ @ApiImplicitParam(name = "storeId", value = "매장코드", required = true, dataType = "String", paramType = "query"),
|
|
198
|
+ @ApiImplicitParam(name = "delYn", value = "삭제여부", required = true, dataType = "String", paramType = "query")
|
197
|
199
|
})
|
198
|
200
|
@ApiOperation(value = "위시리스트 마스터 저장")
|
199
|
201
|
@PostMapping("/save-wishlist")
|
200
|
|
- public ResponseEntity<MessageResponse> saveWishListRequest(@ApiIgnore String userId,
|
201
|
|
- @RequestParam(value = "wishlistMgntNo", required = false) String wishlistMgntNo,
|
202
|
|
- @RequestParam(value = "wishlistNm") String wishlistNm,
|
203
|
|
- @RequestParam(value = "storeId") String storeId,
|
204
|
|
- @RequestParam(value = "delYn") String delYn
|
|
202
|
+ public ResponseEntity<WishMasterSaveResponse> saveWishListRequest(@ApiIgnore String userId,
|
|
203
|
+ @RequestParam(value = "wishlistMgntNo", required = false) String wishlistMgntNo,
|
|
204
|
+ @RequestParam(value = "wishlistNm") String wishlistNm,
|
|
205
|
+ @RequestParam(value = "storeId") String storeId,
|
|
206
|
+ @RequestParam(value = "delYn") String delYn
|
205
|
207
|
) throws Exception {
|
206
|
|
- String result = pchReqService.saveWishListRequest(userId, wishlistMgntNo, wishlistNm, storeId, delYn );
|
207
|
|
- return ResponseEntity.ok(MessageResponse.toDTO("ok",result));
|
|
208
|
+ return ResponseEntity.ok(pchReqService.saveWishListMaster(userId, wishlistMgntNo, wishlistNm, storeId, delYn ));
|
208
|
209
|
}
|
209
|
210
|
|
|
211
|
+
|
210
|
212
|
|
211
|
213
|
/**
|
212
|
214
|
* 설명 : 위시리스트 품목조회
|