修改字段入参类型

This commit is contained in:
wucongxing 2023-04-10 11:23:16 +08:00
parent a836064159
commit 04ce699260

View File

@ -510,7 +510,7 @@ class UserService extends BaseService
* @param int $user_type * @param int $user_type
* @return string * @return string
*/ */
public function getOpenIdWithUserId(string|int $user_id, int $user_type): string public function getOpenIdWithUserId(string|int $user_id, int|string $user_type): string
{ {
$open_id = ''; $open_id = '';
if ($user_type == 1) { if ($user_type == 1) {