Skip to content

AssetServiceImpl 메소드 이름 수정 #22

Description

@leedoha11

// 카드 연동
@PostMapping("/card/{id}")
public ResponseEntity<JsonResponse<String>> updateCardStatus(@PathVariable("id") int id) {
assetService.connCard(id);
return ResponseEntity.ok(JsonResponse.success("Update Success"));
}
// 계좌 연동
@PostMapping("/account/{id}")
public ResponseEntity<JsonResponse<String>> updateAccountStatus(@PathVariable("id") int id) {
assetService.connAccount(id);
return ResponseEntity.ok(JsonResponse.success("Update Success"));

연결된 카드와 계좌의 상태를 업데이트 하는 메소드 이름은 connectedCard, connectedAccount가 좋을 듯 합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions