一、我的文章接口
傳遞參數:‘explore_id’(心得id)
頁面顯示內容,主要字段:
1、心得圖片:yf_explore_images => 'images_url'
2、心得標題:yf_explore_base => 'explore_title'
3、心得內容:yf_explore_base => 'explore_content'
4、心得標簽:yf_explore_lable => 'lable_content'
5、心得商品:yf_explore_images_goods=> 'goods_common_id'
6、用戶頭像:yf_user_info=> 'user_logo'
6、用戶名:yf_user_info=> 'user_name'
>[info]開發思路:根據‘explore_id’查詢心得詳情相關數據,其中yf_explore_images 表中‘images_id’字段關聯yf_explore_images_goods表,關聯查詢得出‘common_id’,根據‘common_id’查詢商品相關信息,根據當前登錄信息查詢當前用戶的昵稱以及頭像。
二、編輯接口
傳遞參數:‘explore_id’(心得id)
>[info]開發思路:根據explore_id對對應的分享心得進行編輯。
三、刪除接口
傳遞參數:‘explore_id’(心得id)
>[info]開發思路:根據explore_id刪除對應的分享心得進行刪除。
四、分享icon
>[info]開發思路:js分享插件。