You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace App\Service\v3\Implementations;
use App\Model\v3\UserRelationBind;use App\Service\v3\Interfaces\UserRelationBindServiceInterface;
class UserCommunityBindService implements UserRelationBindServiceInterface{
/** * @inheritDoc */ public function bindLimitByUser($bind_type, $source_id, $user_id, $extra_data) { return UserRelationBind::query()->updateOrCreate( ['bind_type' => $bind_type, 'user_id' => $user_id], ['source_id' => $source_id, 'json_data' => $extra_data] ); }
public function bindLimitBySource($bind_type, $source_id, $user_id, $extra_data) { // TODO: Implement bindLimitBySource() method.
}
public function bind($bind_type, $source_id, $user_id, $extra_data) { // TODO: Implement bind() method.
}
public function isBinded($bind_type, $source_id, $user_id) { // TODO: Implement isBinded() method.
}}
|