# 商品查询—所有图片 # # GET https://<endpoint>/Product/Images/[ProductId] # # Response Body # { # "Count":"图片数量", # "List": # [ # { "Id": "图片ID", # "Description": "图片描述", # "bigportraiturl": "大图BASE64编码串", # "smallportraiturl": "小图BASE64编码串"}, # …… # ] # } # $app->get('/Images/:ProductId', function ($ProductId) use($app) { $product = new Product($app); echo $product->get_Images($ProductId); }); # # 商品查询—热门搜索词 # # GET https://<endpoint>/Product/HotSearchWord/?limit=10 # $app->get('/HotSearchWord/', function () use($app) { $product = new Product($app); echo $product->getHotSearchWord(); }); });