public static int DeleteUserConnectInfo(int userId) { if (userId < 1) { return(-1); } return(UserConnect.Delete(UserConnect._.Uid == userId)); }
public static int DeleteUserConnectInfo(string openId) { if (openId.Length < 32) { return(-1); } return(UserConnect.Delete(UserConnect._.OpenId == openId)); }