当前ID:154390285567154747
数据库原有链接:NULL
库无链接,开始调用API
API返回原始数据:
Array
(
    [data] => Array
        (
            [event_url_list] => Array
                (
                )

            [item_url_list] => Array
                (
                )

            [material_url_list] => Array
                (
                )

            [shop_url_list] => Array
                (
                    [shop_url_list] => Array
                        (
                            [0] => Array
                                (
                                    [input_shop_id] => 154390285567154747
                                    [link_info_dto] => Array
                                        (
                                            [cps_full_tpwd] => 07¥ CZ321 BI96geEnWjo¥ https://m.tb.cn/h.RmlWseO  金柯酒店用品07
                                            [cps_long_url] => https://s.click.taobao.com/t?e=m%3D2%26s%3D8SFQ6znDGRdw4vFB6t2Z2jAVflQIoZepXoO8tOebS%2BdRAdhuF14FMc033oeCxL0V1aH1Hk3GeOhxFreNx8igYobr6St67QTInM%2FydqQ06jzViIvO8m%2BDeTiRUN2xVR4GlgLnRdKtI2s5tvOE5G3fwCGFCzYOOqAQ&union_lens=lensId:TAPI@1781349296@212b1445_0e6e_19ec0b129ec_77dd@01
                                            [cps_short_tpwd] => ¥BI96geEnWjo¥
                                            [cps_short_url] => https://s.click.taobao.com/CPmlFrk
                                            [material_type] => 2
                                            [seller_id] => 154390285567154747
                                        )

                                )

                        )

                )

        )

    [request_id] => 16klstthrhkbj
)
解析出链接:https://s.click.taobao.com/t?e=m%3D2%26s%3D8SFQ6znDGRdw4vFB6t2Z2jAVflQIoZepXoO8tOebS%2BdRAdhuF14FMc033oeCxL0V1aH1Hk3GeOhxFreNx8igYobr6St67QTInM%2FydqQ06jzViIvO8m%2BDeTiRUN2xVR4GlgLnRdKtI2s5tvOE5G3fwCGFCzYOOqAQ&union_lens=lensId:TAPI@1781349296@212b1445_0e6e_19ec0b129ec_77dd@01
记录不存在,执行ADD新增
新增结果:false
最后SQL:INSERT INTO `ytt_dianpu` (`tbk_link`,`id`) VALUES ('https://s.click.taobao.com/t?e=m%3D2%26s%3D8SFQ6znDGRdw4vFB6t2Z2jAVflQIoZepXoO8tOebS%2BdRAdhuF14FMc033oeCxL0V1aH1Hk3GeOhxFreNx8igYobr6St67QTInM%2FydqQ06jzViIvO8m%2BDeTiRUN2xVR4GlgLnRdKtI2s5tvOE5G3fwCGFCzYOOqAQ&union_lens=lensId:TAPI@1781349296@212b1445_0e6e_19ec0b129ec_77dd@01',154390285567154747)