This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
B3WeChat
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
新建微信审批消息时没有关注不抛出异常
master
yashen
9 years ago
parent
b63b8f5616
commit
4817dd5efa
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
B3WeChat/Rpcs/ApproveMessageRpc.cs
+ 1
- 1
B3WeChat/Rpcs/ApproveMessageRpc.cs
View File
@ -34,7 +34,7 @@ namespace BWP.B3WeChat.Rpcs
if
(
string
.
IsNullOrEmpty
(
openID
)
)
{
throw
new
Exception
(
"审批用户没有关注公众号"
)
;
return
;
//没有关注时不抛出异常,因为此操作比较普遍,并且消息比较大,导致系统日志中出现大量的错误日志
}
message
.
OpenID
=
openID
;
Write
Preview
Loading…
Cancel
Save