quanwei
17 hours ago ad8477d3ee82a3fffd5de4cd60a237c9ee6b1fb7
admin/app/common/model/plus/release/ChatRelation.php
@@ -34,6 +34,11 @@
     */
    public static function getRelationId($user_id,$other_user_id)
    {
        // 防止自己与自己创建关系
        if ($user_id == $other_user_id) {
            return 0;
        }
        $model = new static;
        $data = $model->where("user_id",'=',$user_id)->where("other_user_id",'=',$other_user_id)->find();
        if(empty($data)){