🎨 优化企业微信消息发送接口代码,引入moco模拟测试组件,方便测试代码

This commit is contained in:
Binary Wang
2020-08-30 17:41:56 +08:00
parent 7cfabab628
commit c01347cac6
13 changed files with 297 additions and 118 deletions

View File

@@ -0,0 +1,18 @@
[
{
"request": {
"uri": "/cgi-bin/gettoken"
},
"response": {
"text": "{\"errcode\":0,\"errmsg\":\"ok\",\"access_token\":\"oG1MrhLSzGBl4YxM1W2EHJlL_5vAotNwQ6KBp98sP2fO8XGPPRUlWS9w98CKjxSgPx4YnTy0DU_DvmNXAwt3mSDJ1Uhg_WCFrxX8GWbbCRlzrj2csK-1Y3tzI6dBCMa2YmblBo2sX7qkkzc9pnjP38GzO7Yuo_Bbpyi4doilNWZme0z9ovwiBCkAtV7DXYuh14EsnNrODG454kstOxsqWA\",\"expires_in\":7200}"
}
},
{
"request": {
"uri": "/cgi-bin/message/send"
},
"response": {
"text": "{\"errcode\":0,\"errmsg\":\"ok\",\"invaliduser\":\"\"}"
}
}
]