feat:兼容开发

main
gzydong 2022-01-17 21:27:27 +08:00
parent cdbf6fdc56
commit 79cb768743
7 changed files with 13 additions and 10 deletions

View File

@ -15,8 +15,9 @@ use App\Model\BaseModel;
* @property integer $is_mute 是否禁言[0:;1:;]
* @property integer $is_quit 是否退群[0:;1:;]
* @property string $user_card 群名片
* @property string $created_at 入群时间
* @property string $deleted_at 退群时间
* @property string $created_at 创建时间
* @property string $updated_at 更新时间
* @property string $deleted_at 删除时间
* @package App\Model\Group
*/
class GroupMember extends BaseModel
@ -30,6 +31,7 @@ class GroupMember extends BaseModel
'is_mute',
'is_quit',
'user_card',
'last_record_id',
'created_at',
'updated_at',
'deleted_at',

View File

@ -19,6 +19,7 @@ use App\Model\BaseModel;
* @property integer $is_robot 是否机器人
* @property string $created_at 创建时间
* @property \Carbon\Carbon $updated_at 更新时间
*
* @package App\Model
*/
class TalkSession extends BaseModel
@ -31,10 +32,10 @@ class TalkSession extends BaseModel
'talk_type',
'user_id',
'receiver_id',
'is_delete',
'is_top',
'is_robot',
'is_disturb',
'is_delete',
'is_robot',
'created_at',
'updated_at'
];

View File

@ -11,7 +11,7 @@
namespace App\Service;
use App\Model\User;
use App\Model\Contact;
use App\Model\Contact\Contact;
use App\Traits\PagingTrait;
/**

View File

@ -9,7 +9,7 @@ use App\Constants\TalkEventConstant;
use App\Constants\TalkModeConstant;
use App\Model\Talk\TalkRecords;
use App\Model\User;
use App\Model\ContactApply;
use App\Model\Contact\ContactApply;
use App\Service\SocketClientService;
use App\Service\UserService;

View File

@ -3,7 +3,7 @@
namespace App\Service;
use App\Cache\FriendRemark;
use App\Model\Contact;
use App\Model\Contact\Contact;
class UserFriendService
{

View File

@ -5,8 +5,8 @@ namespace App\Service;
use App\Helpers\HashHelper;
use App\Model\User;
use App\Model\Article\ArticleClass;
use App\Model\Contact;
use App\Model\ContactApply;
use App\Model\Contact\Contact;
use App\Model\Contact\ContactApply;
use Hyperf\DbConnection\Db;
class UserService extends BaseService

View File

@ -7,7 +7,7 @@ use Hyperf\Database\Seeders\Seeder;
use App\Model\User;
use App\Model\Article\ArticleClass;
use Hyperf\DbConnection\Db;
use App\Model\Contact;
use App\Model\Contact\Contact;
class Initialize extends Seeder
{