AI-Funding / AI_Funding_BE

0 stars 1 forks source link

수익비교탭 구현 #63

Closed JinSeoHan closed 2 years ago

JinSeoHan commented 2 years ago

구현목록

수익비교 탭 구현

api주소

주소 메서드
api/profit-compare POST

받는값

{
    "customer_info_id" : "1",
    "login_type"       : "00"
}

넘겨주는값

{
    "accounts" : [
        {
            "aiType" : "ai번호"
            "nickname" : "계좌이름"
            "accountNumber" : "계좌번호"
            "profits" : [
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
            ]
        },
        {
            "aiType" : "ai번호"
            "nickname" : "계좌이름"
            "accountNumber" : "계좌번호"
            "profits" : [
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
                {
                    "date"      : "누적수익률 날짜"
                    "profit"    : "누적수익률"
                },
            ]
        },
    ]
}