|
@@ -21,4 +21,45 @@ WinSCP连接221.4.210.172,/Default/aws/中免/aws-中免-18.156.200.112/var/ww
|
|
|
https://vr.cdfmembers.com/index.html?m=eur-KJ-UuYn0F0iY6
|
|
|
|
|
|
## 部署位置
|
|
|
-WinSCP连接221.4.210.172,/Default/aws/中免/aws-中免-18.156.200.112/var/www/html/cdfmembers
|
|
|
+WinSCP连接221.4.210.172,/Default/aws/中免/aws-中免-18.156.200.112/var/www/html/cdfmembers
|
|
|
+
|
|
|
+# SAAS 海鲲 AR预览界面相关接口 这文档写的什么垃圾,有错误……
|
|
|
+接口名称:获取skuid及预览url列表
|
|
|
+接口类型:GET HTTP
|
|
|
+接口地址:https://ar-admin.cdfmembers.com/api/getSkuList
|
|
|
+
|
|
|
+接口查询逻辑:
|
|
|
+1.传入规格id和商品id,如果有对应商品存在,则返回skuid+url,否则返回空;
|
|
|
+2.传入规格id,如果该规格id有对应商品id存在,则返回skuid+url列表,否则返回空。
|
|
|
+
|
|
|
+接口示例:https://ar-admin.cdfmembers.com/api/getSkuList?spuId=p15685542&storeId=1
|
|
|
+
|
|
|
+请求参数:
|
|
|
+字段: skuId skuId storeID
|
|
|
+字段说明: 商品id 规格id 门店ID
|
|
|
+类型: String String String
|
|
|
+是否必填: 是 否 是
|
|
|
+
|
|
|
+线上门店ID列表:
|
|
|
+澳门店:1
|
|
|
+东涌店:2
|
|
|
+柬中免店:3
|
|
|
+会员购店:12
|
|
|
+
|
|
|
+返回结果:
|
|
|
+[
|
|
|
+ {
|
|
|
+ "skuId": "c75494370",
|
|
|
+ "url": "https://ar.cdfmembers.com/spu?showType=makeup"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "skuId": "c75494370",
|
|
|
+ "url": "https://ar.cdfmembers.com/spu?showType=makeup"
|
|
|
+ }
|
|
|
+]
|
|
|
+
|
|
|
+拿到返回结果后,拼接URL和用户信息等参数,向预览界面跳转
|
|
|
+参数:
|
|
|
+userId,storeId,spuId,AccessToken,cookieId等(makeup这个参数是我们提供的,所以需要将前面的参数拼接到返回URL上面)
|
|
|
+请求示例:
|
|
|
+https://ar.cdfmembers.com/spu?showType=makeup&spuId=p15685542&storeId=1&userId=601131887&AccessToken=05508E6249DF10D42876C63E6823E98AAFCA8B1CD592F0D5B5A112BF3B51BB01BD5C8661A63D9D16039DA34FD0352B184F892FAB146A3531&cookieId=24fb1f47-cf3f-4a3d-c0fe-62be0c99a400
|