澶氶杸搴楅闋佹帴鍙�
- 璜嬫眰璺緫锛歝om/SmallProgAPI/Home/GetShopsIndexData
- 璜嬫眰鍙冩暩锛�
?
鍙冩暩鍚嶇ū | 蹇呭~ | 鍙冩暩鍊艰鏄� | 鏍煎紡瑕佹眰 |
? |
- 杩斿洖鍊艰鏄庯細Json鏍煎紡
杩斿洖绲愭灉锛�
{"success":true,"msg":"","code":0,"data":{"QQMapKey":"SYJBZ-DSLR3-IWX3Q-3XNTM-ELURH-23FTP","TopSlide":null,"Menu":[{"Id":249,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121423492871660.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/117","DisplaySequence":23,"TypeId":14,"Description":"鎮呮箹灞�"},{"Id":252,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121424067911390.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/10","DisplaySequence":26,"TypeId":14,"Description":"棣欑厵"},{"Id":253,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121424162920970.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/63","DisplaySequence":27,"TypeId":14,"Description":"鏂拌彲"},{"Id":275,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121423391212000.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/19","DisplaySequence":32,"TypeId":14,"Description":"yuyi"},{"Id":276,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121425274707980.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/69","DisplaySequence":33,"TypeId":14,"Description":"姘存灉"},{"Id":277,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121425493116370.jpg","Url":"3,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/topic/detail/114","DisplaySequence":34,"TypeId":14,"Description":"绯ф补"},{"Id":278,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121427346593050.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/6","DisplaySequence":35,"TypeId":14,"Description":"姘存灉1"},{"Id":284,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709141057334502460.jpg","Url":"4,http://www.baidu.com","DisplaySequence":38,"TypeId":14,"Description":"璺宠綁閺堟帴"}],"ADImg1":null,"ADImg2":null,"ADImg3":null,"ADImg4":null,"ADImg5":null,"MiddleSlide":null}} |
?
?
杩斿洖绲愭灉鍙冩暩瑾槑锛�
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鍦板湒Key | QQMapKey | string | 鏄� | |
闋傞儴杓挱鍦� | TopSlide | Json鍒楄〃 | 鏄� | |
鑿滃柈 | Menu | Json鍒楄〃 | 鏄� | |
涓枔杓挱鍦� | MiddleSlide | Json鍒楄〃 | 鏄� | |
寤e憡鍦� | ADImg1 | Json | 鏄� | |
ADImg2 | Json | 鏄� | ||
ADImg3 | Json | 鏄� | ||
ADImg4 | Json | 鏄� | ||
ADImg5 | Json | 鏄� |
鏁告摎瀛楁淇℃伅
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鍦栫墖鍦板潃 | ImageUrl | string | 鍚� | |
閺堟帴鍦板潃 | Url | String | 鍚� | 鏁告摎鏍煎紡鐐猴細
椤炲瀷锛�1闁€搴楁绨�??2闁€搴�??3灏堥??4鑷畾缇╋級,鍦板潃 |
鎻忚堪 | Description | string | 鏄� |
2.4闁€搴楀垪琛ㄦ帴鍙�
- 璜嬫眰璺緫锛歝om/?SmallProgAPI/Home/GetStoreList
- 璜嬫眰鍙冩暩锛�
?
鍙冩暩鍚嶇ū | 蹇呭~ | 鍙冩暩鍊艰鏄� | 鏍煎紡瑕佹眰 |
fromLatLng | 鏄� | 缍撶矾搴� | string |
keyWords | 鍚� | 闂滈嵉瀛� | string |
tagsId | 鍚� | 妯欑敖绶ㄨ櫉 | int |
shopId | 鍚� | 鍟嗗绶ㄨ櫉 | int |
pageNo | 鏄� | 闋佺⒓ | int |
pageSize | 鏄� | 姣忛爜椤ず鏁� | Int |
openId | 鍚� | 鐢ㄦ埗openid | string |
?
- 杩斿洖鍊艰鏄庯細Json鏍煎紡
杩斿洖绲愭灉锛�
{"success":true,"msg":"","code":0,"data":{"Total":2,"CityInfo":{"Id":222,"Name":"澶師甯�"},"CurrentAddress":"骞抽櫧璺�96-12铏�","Stores":[{"CommentScore":5.00,"SaleCount":20,"SaleCountByMonth":0,"CartQuantity":0,"ShowProducts":[{"Id":1171,"ProductName":"娓│鍏ㄩ亥棰�1142","MarketPrice":333.00,"MinSalePrice":333.00,"HasSKU":false,"SaleCount":0,"HighCommentCount":0,"DefaultImage":"http://localhost:4573//Storage/Shop/1/Products/1171/1_150.png"}],"ShopAllActives":{"ShopActives":null,"FreeFreightAmount":0.0,"ShopCoupons":[{"Id":157,"CouponName":"10","Price":10.0,"OrderAmount":"100.00","ShopId":1,"ShopName":null,"EndTime":"2017-11-24T00:00:00","strEndTime":"2017-11-24","StartTime":"2017-10-24T00:00:00","strStartTime":"2017-10-24","Num":0,"useNum":0,"inventory":0,"perMax":0,"IsUse":0,"UseArea":0,"Remark":null}],"MinCouponPrice":10.0,"MaxCouponPrice":10.0},"ShopBranch":{"ShopName":null,"ShopBranchInTagNames":null,"ShopBranchTagId":null,"Id":11,"ShopId":1,"ShopBranchName":"灞辫タ澶師","AddressId":0,"AddressDetail":"澶師甯傚皬搴楀崁濉㈠煄琛楅亾骞抽櫧璺�96-10","AddressFullName":null,"ContactUser":null,"ContactPhone":"17012345780","Status":0,"CreateDate":"0001-01-01T00:00:00","UserName":null,"PasswordOne":null,"PasswordTwo":null,"RegionIdPath":null,"ServeRadius":0,"Longitude":112.553,"Latitude":37.8143,"ShopImages":"http://localhost:4573//temp/201709141033218603790.jpg","Distance":0.02,"DistanceUnit":"20M","Enabled":false,"AddressPath":null,"IsStoreDelive":false,"IsAboveSelf":true,"DeliveFee":0,"FreeMailFee":0,"DeliveTotalFee":0,"StoreOpenStartTime":"00:00:00","StoreOpenEndTime":"00:00:00","RecommendSequence":9223372036854775807,"IsRecommend":false,"CommentScore":0.0,"DaDaShopId":null},"Products":[]},{"CommentScore":5.00,"SaleCount":1,"SaleCountByMonth":0,"CartQuantity":0,"ShowProducts":[{"Id":732,"ProductName":"鍟嗗搧2铏�","MarketPrice":250.00,"MinSalePrice":150.00,"HasSKU":true,"SaleCount":1,"HighCommentCount":1,"DefaultImage":"http://localhost:4573//Storage/Shop/292/Products/732/1_150.png"}],"ShopAllActives":{"ShopActives":null,"FreeFreightAmount":0.0,"ShopCoupons":[],"MinCouponPrice":0.0,"MaxCouponPrice":0.0},"ShopBranch":{"ShopName":null,"ShopBranchInTagNames":null,"ShopBranchTagId":null,"Id":27,"ShopId":292,"ShopBranchName":"澶師搴�","AddressId":0,"AddressDetail":"澶師甯傚皷鑽夊潽鍗€鍏夌ぞ琛楅亾鏂板簵琛楁潨瀹舵潙鍔囧牬(鍖櫧灏忓崁瑗垮寳)","AddressFullName":null,"ContactUser":null,"ContactPhone":"18390838220","Status":0,"CreateDate":"0001-01-01T00:00:00","UserName":null,"PasswordOne":null,"PasswordTwo":null,"RegionIdPath":null,"ServeRadius":5,"Longitude":112.577,"Latitude":37.9482,"ShopImages":"http://localhost:4573//temp/201704081055033013660.jpg","Distance":15.05,"DistanceUnit":"15.05KM","Enabled":false,"AddressPath":null,"IsStoreDelive":false,"IsAboveSelf":false,"DeliveFee":0,"FreeMailFee":0,"DeliveTotalFee":0,"StoreOpenStartTime":"00:00:00","StoreOpenEndTime":"00:00:00","RecommendSequence":9223372036854775807,"IsRecommend":false,"CommentScore":0.0,"DaDaShopId":null},"Products":[]}]}} |
?
?
杩斿洖绲愭灉鍙冩暩瑾槑锛�
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
绺介噺 | Total | int | 鍚� | |
鍩庡競淇℃伅 | CityInfo | Json | 鏄� | |
鐣跺墠浣嶇疆 | CurrentAddress | string | 鏄� | |
闁€搴楀垪琛� | Stores | Json鍒楄〃 | 鏄� |
鍩庡競淇℃伅?CityInfo
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鍩庡競绶ㄨ櫉 | Id | int | 鍚� | |
鍩庡競鍚嶇ū | Name | String | 鍚� |
闁€搴楀垪琛ㄤ俊鎭�?Stores
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
閵烽噺 | SaleCount | Int | 鍚� | |
鏈堥姺閲� | SaleCountByMonth | int | 鍚� | |
瑭曞垎 | CommentScore | decimal | 鍚� | |
娲诲嫊 | ShopAllActives | json鍒楄〃 | 鏄� | |
闁€搴椾俊鎭� | ShopBranch | json | 鏄� | 瑕�2.4 |
鍟嗗搧 | ShowProducts | json鍒楄〃 | 鏄� | |
闁€搴楀晢鍝佹暩閲� | ProductCount | int | 鏄� |
?
鍟嗗搧?ShowProducts
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鍟嗗搧绶ㄨ櫉 | Id | int | 鍚� | |
鍟嗗搧鍚嶇ū | ProductName | string | 鍚� | |
甯傚牬鍍� | MarketPrice | decimal | 鍚� | |
鏈€浣庡敭鍍� | MinSalePrice | decimal | 鍚� | |
鏄惁鏈夎鏍� | HasSKU | bool | 鍚� | |
鍟嗗搧鐣ョ府鍦� | DefaultImage | string | 鏄� | |
閵烽噺 | SaleCount | int | 鍚� | |
濂借⿻鏁� | HighCommentCount | int | 鍚� |
?
闁€搴�(鍟嗗)娲诲嫊淇℃伅?ShopAllActives
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
鍟嗗娲诲嫊 | ShopActives | json鍒楄〃 | 鏄� | |
婊块鍏嶉亱璨婚搴� | FreeFreightAmount | decimal | 鍚� | |
鍎儬鍒搁泦 | ShopCoupons | Json鍒楄〃 | 鏄� | |
鏈€灏忓劒鎯犲埜闈㈤ | MinCouponPrice | Decimal | 鍚� | |
鏈€澶у劒鎯犲埜闈㈤ | MaxCouponPrice | decimal | 鍚� |
鍟嗗娲诲嫊淇℃伅?ShopActives
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
娲诲嫊鍚嶇ū | ActiveName | string | 鏄� | |
鍟嗗绶ㄨ櫉 | ShopId | int | 鏄� |
鍎儬鍒镐俊鎭�?ShopCoupons
?
瀛楁鍚嶇ū | 瀛楁绶ㄧ⒓ | 鏁告摎椤炲瀷 | 鏄惁鍙┖ | 鍌欐敞 |
绶ㄨ櫉 | Id | json鍒楄〃 | 鏄� | |
鍎儬鍒稿悕绋� | CouponName | decimal | 鍚� | |
鍍瑰€� | Price | Json鍒楄〃 | 鏄� | |
浣跨敤姊濅欢 | OrderAmount | Decimal | 鍚� | |
鍟嗛嫪绶ㄨ櫉 | ShopId | decimal | 鍚� | |
鍟嗛嫪鍚嶇ū | ShopName | string | 鍚� | |
鍒版湡鏅傞枔 | EndTime | datetime | 鍚� | |
strEndTime | string | 鍚� | ||
闁嬪鏅傞枔 | StartTime | datetime | 鍚� | |
strStartTime | string | 鍚� |
0 Comments.