DefaultProfile.addEndpoint("cn-hangzhou", "retailcloud", "retailcloud.aliyuncs.com")
注意这里是api的region,和聚石塔应用或者云产品的地域不一样,这里一定要设置cn-hangzhou
Python SDK
https://pypi.org/project/aliyun-python-sdk-retailcloud/
Java SDK
<!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-retailcloud --> <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-retailcloud</artifactId> <version>2.0.4</version> </dependency>