File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " jdcloud-sdk-js" ,
3- "version" : " 1.2.87 " ,
3+ "version" : " 1.2.88 " ,
44 "description" : " jdcloud openApi sdk" ,
55 "main" : " src/jdcloud.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Service._services[serviceId] = true
3030
3131/**
3232 * asset service.
33- * @version 0.0.2
33+ * @version 0.0.3
3434 */
3535
3636class ASSET extends Service {
@@ -39,7 +39,7 @@ class ASSET extends Service {
3939 options . _defaultEndpoint . protocol =
4040 options . _defaultEndpoint . protocol || 'https'
4141 options . _defaultEndpoint . host =
42- options . _defaultEndpoint . host || 'asset.jcloud .com'
42+ options . _defaultEndpoint . host || 'asset.jdcloud-api .com'
4343 options . basePath = '/v1' // 默认要设为空""
4444 super ( serviceId , options )
4545 }
@@ -79,7 +79,7 @@ class ASSET extends Service {
7979 }
8080
8181 let headerParams = {
82- 'User-Agent' : 'JdcloudSdkNode/1.0.0 asset/0.0.2 '
82+ 'User-Agent' : 'JdcloudSdkNode/1.0.0 asset/0.0.3 '
8383 }
8484
8585 let contentTypes = [ 'application/json' ]
@@ -199,7 +199,7 @@ class ASSET extends Service {
199199 }
200200
201201 let headerParams = {
202- 'User-Agent' : 'JdcloudSdkNode/1.0.0 asset/0.0.2 '
202+ 'User-Agent' : 'JdcloudSdkNode/1.0.0 asset/0.0.3 '
203203 }
204204
205205 let contentTypes = [ 'application/json' ]
You can’t perform that action at this time.
0 commit comments