1234567891011121314151617181920212223 |
- <?php
- namespace App\Models;
- class PlatformSidModel extends BaseModel
- {
- protected $table = "platform_sid";
-
- public static function findUserBySidAndPlatformType($sid, $platformType)
- {
- return self::query()
- ->where("platform_sid",$sid)
- ->where("platform_type",$platformType)
- ->value("user_id");
- }
- }
|