我们应该在亚马逊MWS PHP SDK中的APPLICATION_NAME和APPLICATION_VERSION字段中输入什么?

sab*_*ari 2 php amazon-web-services amazon-mws

我不知道我应该在amazon MWS PHP库的下面的字段中输入什么

define('APPLICATION_NAME', '<Your Application Name>');  
define('APPLICATION_VERSION', '<Your Application Version or Build Number>'); 
Run Code Online (Sandbox Code Playgroud)

如果有人知道亚马逊MWS中的应用程序名称和版本,请说明应用程序名称和版本.

van*_*eto 9

您输入应用程序名称和版本.根据您链接到的文件中的评论:

/*
* All MWS requests must contain a User-Agent header. The application
* name and version defined below are used in creating this value.
*/
Run Code Online (Sandbox Code Playgroud)

因此,应用程序名称和版本用于创建用户代理字符串.您说您的应用程序将用于将您的商店产品导出到卖家中心.所以使用类似的名称MyProductExporter,版本将是1.0,然后当您升级它时,您可以将版本设置为1.1.

所以,例如,我的看起来像:

define('APPLICATION_NAME', 'MyAWESOMEProductExporter');  
define('APPLICATION_VERSION', '1.1.391');
Run Code Online (Sandbox Code Playgroud)

因此,它是为了识别您的客户User-Agent- 只要它是独一无二的,在那里放置任何有意义的东西.

希望这可以帮助