/** * 保存 * @param UserProfileModel $profile * @return UserProfileModel * @throws \Exception */ public static function saveProfile(UserProfileModel $profile) { return self::editProfile($profile->toArray()); }
/** * 保存 * @param UserProfileModel $profile * @return UserProfileModel * @throws \Exception */ public static function saveProfile(UserProfileModel $profile) { return self::editProfile($profile->toArray()); }