def update(registration_id, tags_add: nil, tags_remove: nil, clear_tags: false, alis: nil, mobile: nil)
      tags =
        if clear_tags
            ''
        else
          hash = {}
          hash[:add] = [tags_add].flatten unless tags_add.nil?
          hash[:remove] = [tags_remove].flatten unless tags_remove.nil?
          hash.empty? ? nil : hash
        end
      body = {
        tags: tags,
        alias: alis,
        mobile: mobile
      }.select { |_, value| !value.nil? }

      url = base_url + registration_id
      Http::Client.post(@jpush, url, body: body)
    end
def update(registration_id, tags_add: nil, tags_remove: nil, clear_tags: false, alis: nil, mobile: nil)
      tags =
        if clear_tags
            ''
        else
          hash = {}
          hash[:add] = [tags_add].flatten unless tags_add.nil?
          hash[:remove] = [tags_remove].flatten unless tags_remove.nil?
          hash.empty? ? nil : hash
        end
      body = {
        tags: tags,
        alias: alis,
        mobile: mobile
      }.select { |_, value| !value.nil? }

      url = base_url + registration_id
      Http::Client.post(@jpush, url, body: body)
    end
POST /v3/devices/{registration_id}
 更新当前设备的指定属性，当前支持tags, alias，手机号码mobile