-
-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD]自定义工作台接口 #766
base: master
Are you sure you want to change the base?
[ADD]自定义工作台接口 #766
Conversation
@@ -25,3 +25,4 @@ | |||
from wechatpy.work.client.api.kf_message import WeChatKFMessage # NOQA | |||
from wechatpy.work.client.api.export import WeChatExport # NOQA | |||
from wechatpy.work.client.api.living import WeChatLiving # NOQA | |||
from wechatpy.work.client.api.workbench import WeChatWorkBench |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'wechatpy.work.client.api.workbench.WeChatWorkBench' imported but unused
wechatpy/client/api/customservice.py
Outdated
"invite_wx": wx_id | ||
} | ||
|
||
return self._post("/kfaccount/inviteworker",data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace after ','
@@ -203,3 +203,22 @@ def get_records(self, start_time, end_time, msgid=1, number=10000): | |||
data=record_data, | |||
) | |||
return res | |||
|
|||
def bind_service_wx(self,account_id,wx_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace after ','
@@ -48,3 +50,19 @@ def get_user_info(self, code): | |||
"code": code, | |||
}, | |||
) | |||
|
|||
def get_user_detail(self,ticket): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace after ','
https://developer.work.weixin.qq.com/document/path/90262 | ||
""" | ||
|
||
def get(self,data_type,start_time,end_time,user_ids): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace after ','
|
||
from wechatpy.client.api.base import BaseWeChatAPI | ||
|
||
class WeChatCheckIn(BaseWeChatAPI): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected 2 blank lines, found 1
新增应用管理中的自定义工作台接口