Skip to content

product_service

nattapon.r edited this page May 19, 2017 · 3 revisions

Product search

/api/product/:keyword => POST (keyword: string) => PDtextResult

type PDtextResult = {
    SearchPDTextElastic: {
        keyword: string;
        word_analysis: string;
        synonym: string;
        paging: {
            pageNo: number;
            pageSize: number;
            totalPage: number;
        },
        status: any;
        resultsList: Array<{
            company_id: string;
            pd_text: string;
            business: any;
        }>;
        totalData: number;
    }
}
Clone this wiki locally