Commit 31ff6782 by sxy

fix: 判断条件

parent 51187059
......@@ -31,7 +31,7 @@ class MsgCtl extends CtlBase {
if (!pobj.content) {
return system.getResult(null, "content can not be empty,100290");
}
if (!pobj.sender || !pobj.sender_id) {
if (!pobj.sender || (pobj.sender_id !== 0 && !pobj.sender_id)) {
return system.getResult(null, "发送者信息 can not be empty,100290");
}
if (pobj.jump_address && !pobj.app_key) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment