Skip to content

Commit 5c26861

Browse files
committed
publish jdcloud-sdk-python 1.6.55
1 parent 28913a6 commit 5c26861

8 files changed

Lines changed: 76 additions & 7 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# 更新历史 #
22

3-
API版本:1.2.0
3+
API版本:1.3.2
44

55
| 发布时间 | 版本号 | 更新 | 说明 |
66
| ---------- | ------ | -------- | ------------------------------------------------------------ |
7+
| 2020-02-18 | 1.3.2 | 新增接口 | 新增提货券非自动支付下单接口 |
8+
| 2019-12-31 | 1.3.1 | 接口修改 | 修改促销内部接口,使用skuId方式 |
9+
| 2019-11-14 | 1.3.0 | 新增接口 | 新增用户开通、统一选购套餐包购买内部接口 |
710
| 2019-07-03 | 1.2.0 | 接口完善 | 优化发送和回执状态查询接口,新增回复查询接口 |
811
| 2019-06-26 | 1.1.0 | 接口完善 | 调整接口参数、返回值格式,删除无用接口 |
912
| 2019-01-16 | 1.0.0 | 初始化 | 初始版本,sms基本操作接口 |

jdcloud_sdk/services/sms/apis/BatchSendRequest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class BatchSendRequest(JDCloudRequest):
2323
"""
24-
指定模板群发短信
24+
指定模板群发短信接口。接口调用需要使用京东云统一鉴权的SDK方式接入,以下文档仅是接口出参、入参描述,并不是最终程序实现逻辑的范例,具体接口实现请查看SDK参考:https://docs.jdcloud.com/cn/text-message/java
2525
"""
2626

2727
def __init__(self, parameters, header=None, version="v1"):
@@ -37,7 +37,7 @@ def __init__(self, regionId, templateId, signId, phoneList, ):
3737
:param regionId: Region ID
3838
:param templateId: 模板Id
3939
:param signId: 签名Id
40-
:param phoneList: 群发的国内电话号码,群发时一次最多不要超过200个手机号
40+
:param phoneList: 群发的国内电话号码,群发时一次最多不要超过100个手机号
4141
"""
4242

4343
self.regionId = regionId

jdcloud_sdk/services/sms/apis/ReplyRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class ReplyRequest(JDCloudRequest):
2323
"""
24-
短信回复接口
24+
短信回复接口。 接口调用需要使用京东云统一鉴权的SDK方式接入,以下文档仅是接口出参、入参描述,并不是最终程序实现逻辑的范例,具体接口实现请查看SDK参考:https://docs.jdcloud.com/cn/text-message/java
2525
"""
2626

2727
def __init__(self, parameters, header=None, version="v1"):

jdcloud_sdk/services/sms/apis/StatusReportRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class StatusReportRequest(JDCloudRequest):
2323
"""
24-
短信发送回执接口
24+
短信发送回执接口。接口调用需要使用京东云统一鉴权的SDK方式接入,以下文档仅是接口出参、入参描述,并不是最终程序实现逻辑的范例,具体接口实现请查看SDK参考:https://docs.jdcloud.com/cn/text-message/java
2525
"""
2626

2727
def __init__(self, parameters, header=None, version="v1"):

jdcloud_sdk/services/sms/client/SmsClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def __init__(self, credential, config=None, logger=None):
2626
if config is None:
2727
config = Config('sms.jdcloud-api.com')
2828

29-
super(SmsClient, self).__init__(credential, config, 'sms', '1.2.0', logger)
29+
super(SmsClient, self).__init__(credential, config, 'sms', '1.3.2', logger)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
20+
class CreateInstanceNotPayResp(object):
21+
22+
def __init__(self, buyId=None, forwardUrl=None):
23+
"""
24+
:param buyId: (Optional) 购买ID
25+
:param forwardUrl: (Optional) 订单确认URL
26+
"""
27+
28+
self.buyId = buyId
29+
self.forwardUrl = forwardUrl
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
20+
class CreateInstanceResp(object):
21+
22+
def __init__(self, buyId=None, submit=None, addAndSubmitBuyMessage=None, orderNumber=None, autoPay=None, submitOrderMessage=None):
23+
"""
24+
:param buyId: (Optional) 购买ID
25+
:param submit: (Optional) 是否执行提交购买逻辑,true-执行提交购买,false-未执行提交购买
26+
:param addAndSubmitBuyMessage: (Optional) 提交结果消息
27+
:param orderNumber: (Optional) 订单号
28+
:param autoPay: (Optional) 自动支付标识
29+
:param submitOrderMessage: (Optional) 下单结果消息
30+
"""
31+
32+
self.buyId = buyId
33+
self.submit = submit
34+
self.addAndSubmitBuyMessage = addAndSubmitBuyMessage
35+
self.orderNumber = orderNumber
36+
self.autoPay = autoPay
37+
self.submitOrderMessage = submitOrderMessage

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='jdcloud_sdk',
12-
version="1.6.54",
12+
version="1.6.55",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",
1515
author='JDCloud API Gateway Team',

0 commit comments

Comments
 (0)