zsgf_client 1.0.25 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AccessTokenApi.md +1 -1
- data/docs/AlipayApi.md +25 -25
- data/docs/AppApi.md +1 -655
- data/docs/DingTalkApi.md +1 -1
- data/docs/ExternalAccountApi.md +373 -0
- data/docs/{OAuthAccountBindRequest.md → ExternalAccountBindRequest.md} +2 -2
- data/docs/{OAuthAccountPutBindRequest.md → ExternalAccountPutRequest.md} +2 -2
- data/docs/{OAuthAccountSignInRequest.md → ExternalAccountSignInRequest.md} +2 -2
- data/docs/FileApi.md +15 -15
- data/docs/OAuthApi.md +17 -17
- data/docs/OrderApi.md +1 -1
- data/docs/StorageApi.md +87 -917
- data/docs/TapPayInfo.md +5 -1
- data/docs/UserApi.md +105 -2459
- data/docs/UserCurrencyApi.md +1 -1
- data/docs/UserFriendsApi.md +795 -0
- data/docs/UserLocationApi.md +387 -0
- data/docs/WechatApi.md +343 -47
- data/lib/zsgf_client/api/access_token_api.rb +1 -1
- data/lib/zsgf_client/api/alipay_api.rb +13 -13
- data/lib/zsgf_client/api/app_api.rb +1 -588
- data/lib/zsgf_client/api/ding_talk_api.rb +1 -1
- data/lib/zsgf_client/api/{authorize_policy_api.rb → external_account_api.rb} +108 -113
- data/lib/zsgf_client/api/file_api.rb +11 -11
- data/lib/zsgf_client/api/o_auth_api.rb +9 -9
- data/lib/zsgf_client/api/order_api.rb +1 -1
- data/lib/zsgf_client/api/storage_api.rb +23 -894
- data/lib/zsgf_client/api/user_api.rb +112 -2374
- data/lib/zsgf_client/api/user_currency_api.rb +1 -1
- data/lib/zsgf_client/api/user_friends_api.rb +787 -0
- data/lib/zsgf_client/api/{user_setting_api.rb → user_location_api.rb} +106 -94
- data/lib/zsgf_client/api/wechat_api.rb +305 -25
- data/lib/zsgf_client/api_client.rb +1 -1
- data/lib/zsgf_client/api_error.rb +1 -1
- data/lib/zsgf_client/configuration.rb +4 -4
- data/lib/zsgf_client/models/access_token_list_result.rb +1 -1
- data/lib/zsgf_client/models/access_token_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/access_token_post_request.rb +1 -1
- data/lib/zsgf_client/models/access_token_put_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_create_order_page_pay_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_create_order_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_create_order_wap_pay_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_query_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_query_response_api_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_refund_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_refund_response_api_response.rb +1 -1
- data/lib/zsgf_client/models/app_info_item.rb +1 -1
- data/lib/zsgf_client/models/app_info_result.rb +1 -1
- data/lib/zsgf_client/models/app_info_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/app_property.rb +1 -1
- data/lib/zsgf_client/models/app_user_consent_model.rb +1 -1
- data/lib/zsgf_client/models/app_user_consent_model_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/app_user_reset_email_request.rb +1 -1
- data/lib/zsgf_client/models/app_user_reset_phone_request.rb +1 -1
- data/lib/zsgf_client/models/app_user_reset_pwd_request.rb +1 -1
- data/lib/zsgf_client/models/authorize_result.rb +1 -1
- data/lib/zsgf_client/models/authorize_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/bk_agent_resp_info.rb +1 -1
- data/lib/zsgf_client/models/boolean_api_response.rb +1 -1
- data/lib/zsgf_client/models/charge_info.rb +1 -1
- data/lib/zsgf_client/models/common_friend_model.rb +1 -1
- data/lib/zsgf_client/models/contribute_detail.rb +1 -1
- data/lib/zsgf_client/models/create_order_request.rb +1 -1
- data/lib/zsgf_client/models/create_order_result.rb +1 -1
- data/lib/zsgf_client/models/create_order_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/currency_consume_request.rb +1 -1
- data/lib/zsgf_client/models/currency_transaction.rb +1 -1
- data/lib/zsgf_client/models/directory_item.rb +1 -1
- data/lib/zsgf_client/models/email_sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/email_sign_up_request.rb +1 -1
- data/lib/zsgf_client/models/enterprise_pay_info.rb +1 -1
- data/lib/zsgf_client/models/exchange_currency_request.rb +1 -1
- data/lib/zsgf_client/models/{o_auth_account_bind_request.rb → external_account_bind_request.rb} +4 -4
- data/lib/zsgf_client/models/{o_auth_account_put_bind_request.rb → external_account_put_request.rb} +4 -4
- data/lib/zsgf_client/models/{o_auth_account_sign_in_request.rb → external_account_sign_in_request.rb} +4 -4
- data/lib/zsgf_client/models/file_item.rb +1 -1
- data/lib/zsgf_client/models/file_list_result.rb +1 -1
- data/lib/zsgf_client/models/file_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/follower_model.rb +1 -1
- data/lib/zsgf_client/models/follower_put_model.rb +1 -1
- data/lib/zsgf_client/models/fulfillment_detail.rb +1 -1
- data/lib/zsgf_client/models/geo_location.rb +1 -1
- data/lib/zsgf_client/models/geo_location_model.rb +1 -1
- data/lib/zsgf_client/models/geo_location_model_api_response.rb +1 -1
- data/lib/zsgf_client/models/geo_location_response_model.rb +1 -1
- data/lib/zsgf_client/models/get_user_profile_result.rb +1 -1
- data/lib/zsgf_client/models/get_user_profile_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/goods_detail.rb +1 -1
- data/lib/zsgf_client/models/grant_request.rb +1 -1
- data/lib/zsgf_client/models/grant_result.rb +1 -1
- data/lib/zsgf_client/models/grant_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/hb_fq_pay_info.rb +1 -1
- data/lib/zsgf_client/models/int64_api_response.rb +1 -1
- data/lib/zsgf_client/models/intact_charge_info.rb +1 -1
- data/lib/zsgf_client/models/my_sql_geometry.rb +1 -1
- data/lib/zsgf_client/models/object_api_response.rb +1 -1
- data/lib/zsgf_client/models/object_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/order.rb +1 -1
- data/lib/zsgf_client/models/order_api_response.rb +1 -1
- data/lib/zsgf_client/models/order_list_result.rb +1 -1
- data/lib/zsgf_client/models/order_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/payment_info_with_id.rb +1 -1
- data/lib/zsgf_client/models/phone_sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/phone_sign_up_request.rb +1 -1
- data/lib/zsgf_client/models/preset_pay_tool_info.rb +1 -1
- data/lib/zsgf_client/models/profile_result.rb +1 -1
- data/lib/zsgf_client/models/profile_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/qr_code_pre_sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/qr_code_scan_request.rb +1 -1
- data/lib/zsgf_client/models/qr_code_sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/qr_code_sign_up_request.rb +1 -1
- data/lib/zsgf_client/models/recharge_point_request.rb +1 -1
- data/lib/zsgf_client/models/recommend_friend.rb +1 -1
- data/lib/zsgf_client/models/refund_charge_info.rb +1 -1
- data/lib/zsgf_client/models/refund_sub_fee.rb +1 -1
- data/lib/zsgf_client/models/return_page_notify_request.rb +1 -1
- data/lib/zsgf_client/models/send_email_code_request.rb +1 -1
- data/lib/zsgf_client/models/send_sms_code_request.rb +1 -1
- data/lib/zsgf_client/models/setup_code.rb +1 -1
- data/lib/zsgf_client/models/setup_code_api_response.rb +1 -1
- data/lib/zsgf_client/models/sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/sign_up_request.rb +1 -1
- data/lib/zsgf_client/models/storage_list_result.rb +1 -1
- data/lib/zsgf_client/models/storage_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/string_api_response.rb +1 -1
- data/lib/zsgf_client/models/sub_fee.rb +1 -1
- data/lib/zsgf_client/models/tap_pay_info.rb +26 -6
- data/lib/zsgf_client/models/token_model.rb +1 -1
- data/lib/zsgf_client/models/token_model_api_response.rb +1 -1
- data/lib/zsgf_client/models/trade_fund_bill.rb +1 -1
- data/lib/zsgf_client/models/trade_settle_detail.rb +1 -1
- data/lib/zsgf_client/models/trade_settle_info.rb +1 -1
- data/lib/zsgf_client/models/union_id_sign_in_request.rb +1 -1
- data/lib/zsgf_client/models/union_id_sign_up_request.rb +1 -1
- data/lib/zsgf_client/models/update_profile_request.rb +1 -1
- data/lib/zsgf_client/models/user.rb +1 -1
- data/lib/zsgf_client/models/user_access_token.rb +1 -1
- data/lib/zsgf_client/models/user_common_interests_result.rb +1 -1
- data/lib/zsgf_client/models/user_common_interests_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_currency.rb +1 -1
- data/lib/zsgf_client/models/user_currency_currency_trans_result.rb +1 -1
- data/lib/zsgf_client/models/user_currency_currency_trans_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_currency_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_followers_result.rb +1 -1
- data/lib/zsgf_client/models/user_followers_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_friends_near_by_result.rb +1 -1
- data/lib/zsgf_client/models/user_friends_near_by_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_location_post_result.rb +1 -1
- data/lib/zsgf_client/models/user_location_post_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_locations_result.rb +1 -1
- data/lib/zsgf_client/models/user_locations_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_logins.rb +1 -1
- data/lib/zsgf_client/models/user_logins_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followers_result.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followers_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followings_result.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followings_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_profile_result.rb +1 -1
- data/lib/zsgf_client/models/user_profile_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_qr_code_scan_result.rb +1 -1
- data/lib/zsgf_client/models/user_qr_code_scan_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/voucher_detail.rb +1 -1
- data/lib/zsgf_client/models/wechat_js_config_result.rb +1 -1
- data/lib/zsgf_client/models/wechat_js_config_result_api_response.rb +1 -1
- data/lib/zsgf_client/version.rb +2 -2
- data/lib/zsgf_client.rb +7 -88
- data/spec/api/access_token_api_spec.rb +1 -1
- data/spec/api/alipay_api_spec.rb +7 -7
- data/spec/api/app_api_spec.rb +1 -115
- data/spec/api/ding_talk_api_spec.rb +1 -1
- data/spec/api/{user_setting_api_spec.rb → external_account_api_spec.rb} +35 -38
- data/spec/api/file_api_spec.rb +6 -6
- data/spec/api/o_auth_api_spec.rb +5 -5
- data/spec/api/order_api_spec.rb +1 -1
- data/spec/api/storage_api_spec.rb +1 -156
- data/spec/api/user_api_spec.rb +5 -449
- data/spec/api/user_currency_api_spec.rb +1 -1
- data/spec/api/user_friends_api_spec.rb +192 -0
- data/spec/api/user_location_api_spec.rb +107 -0
- data/spec/api/wechat_api_spec.rb +64 -12
- data/spec/models/access_token_list_result_api_response_spec.rb +1 -1
- data/spec/models/access_token_list_result_spec.rb +1 -1
- data/spec/models/access_token_post_request_spec.rb +1 -1
- data/spec/models/access_token_put_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_page_pay_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_wap_pay_request_spec.rb +1 -1
- data/spec/models/alipay_trade_query_response_api_response_spec.rb +1 -1
- data/spec/models/alipay_trade_query_response_spec.rb +1 -1
- data/spec/models/alipay_trade_refund_response_api_response_spec.rb +1 -1
- data/spec/models/alipay_trade_refund_response_spec.rb +1 -1
- data/spec/models/app_info_item_spec.rb +1 -1
- data/spec/models/app_info_result_api_response_spec.rb +1 -1
- data/spec/models/app_info_result_spec.rb +1 -1
- data/spec/models/app_property_spec.rb +1 -1
- data/spec/models/app_user_consent_model_list_api_response_spec.rb +1 -1
- data/spec/models/app_user_consent_model_spec.rb +1 -1
- data/spec/models/app_user_reset_email_request_spec.rb +1 -1
- data/spec/models/app_user_reset_phone_request_spec.rb +1 -1
- data/spec/models/app_user_reset_pwd_request_spec.rb +1 -1
- data/spec/models/authorize_result_api_response_spec.rb +1 -1
- data/spec/models/authorize_result_spec.rb +1 -1
- data/spec/models/bk_agent_resp_info_spec.rb +1 -1
- data/spec/models/boolean_api_response_spec.rb +1 -1
- data/spec/models/charge_info_spec.rb +1 -1
- data/spec/models/common_friend_model_spec.rb +1 -1
- data/spec/models/contribute_detail_spec.rb +1 -1
- data/spec/models/create_order_request_spec.rb +1 -1
- data/spec/models/create_order_result_api_response_spec.rb +1 -1
- data/spec/models/create_order_result_spec.rb +1 -1
- data/spec/models/currency_consume_request_spec.rb +1 -1
- data/spec/models/currency_transaction_spec.rb +1 -1
- data/spec/models/directory_item_spec.rb +1 -1
- data/spec/models/email_sign_in_request_spec.rb +1 -1
- data/spec/models/email_sign_up_request_spec.rb +1 -1
- data/spec/models/enterprise_pay_info_spec.rb +1 -1
- data/spec/models/exchange_currency_request_spec.rb +1 -1
- data/spec/models/{o_auth_account_bind_request_spec.rb → external_account_bind_request_spec.rb} +7 -7
- data/spec/models/{o_auth_account_put_bind_request_spec.rb → external_account_put_request_spec.rb} +7 -7
- data/spec/models/{o_auth_account_sign_in_request_spec.rb → external_account_sign_in_request_spec.rb} +7 -7
- data/spec/models/file_item_spec.rb +1 -1
- data/spec/models/file_list_result_api_response_spec.rb +1 -1
- data/spec/models/file_list_result_spec.rb +1 -1
- data/spec/models/follower_model_spec.rb +1 -1
- data/spec/models/follower_put_model_spec.rb +1 -1
- data/spec/models/fulfillment_detail_spec.rb +1 -1
- data/spec/models/geo_location_model_api_response_spec.rb +1 -1
- data/spec/models/geo_location_model_spec.rb +1 -1
- data/spec/models/geo_location_response_model_spec.rb +1 -1
- data/spec/models/geo_location_spec.rb +1 -1
- data/spec/models/get_user_profile_result_api_response_spec.rb +1 -1
- data/spec/models/get_user_profile_result_spec.rb +1 -1
- data/spec/models/goods_detail_spec.rb +1 -1
- data/spec/models/grant_request_spec.rb +1 -1
- data/spec/models/grant_result_api_response_spec.rb +1 -1
- data/spec/models/grant_result_spec.rb +1 -1
- data/spec/models/hb_fq_pay_info_spec.rb +1 -1
- data/spec/models/int64_api_response_spec.rb +1 -1
- data/spec/models/intact_charge_info_spec.rb +1 -1
- data/spec/models/my_sql_geometry_spec.rb +1 -1
- data/spec/models/object_api_response_spec.rb +1 -1
- data/spec/models/object_list_api_response_spec.rb +1 -1
- data/spec/models/order_api_response_spec.rb +1 -1
- data/spec/models/order_list_result_api_response_spec.rb +1 -1
- data/spec/models/order_list_result_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/payment_info_with_id_spec.rb +1 -1
- data/spec/models/phone_sign_in_request_spec.rb +1 -1
- data/spec/models/phone_sign_up_request_spec.rb +1 -1
- data/spec/models/preset_pay_tool_info_spec.rb +1 -1
- data/spec/models/profile_result_api_response_spec.rb +1 -1
- data/spec/models/profile_result_spec.rb +1 -1
- data/spec/models/qr_code_pre_sign_in_request_spec.rb +1 -1
- data/spec/models/qr_code_scan_request_spec.rb +1 -1
- data/spec/models/qr_code_sign_in_request_spec.rb +1 -1
- data/spec/models/qr_code_sign_up_request_spec.rb +1 -1
- data/spec/models/recharge_point_request_spec.rb +1 -1
- data/spec/models/recommend_friend_spec.rb +1 -1
- data/spec/models/refund_charge_info_spec.rb +1 -1
- data/spec/models/refund_sub_fee_spec.rb +1 -1
- data/spec/models/return_page_notify_request_spec.rb +1 -1
- data/spec/models/send_email_code_request_spec.rb +1 -1
- data/spec/models/send_sms_code_request_spec.rb +1 -1
- data/spec/models/setup_code_api_response_spec.rb +1 -1
- data/spec/models/setup_code_spec.rb +1 -1
- data/spec/models/sign_in_request_spec.rb +1 -1
- data/spec/models/sign_up_request_spec.rb +1 -1
- data/spec/models/storage_list_result_api_response_spec.rb +1 -1
- data/spec/models/storage_list_result_spec.rb +1 -1
- data/spec/models/string_api_response_spec.rb +1 -1
- data/spec/models/sub_fee_spec.rb +1 -1
- data/spec/models/tap_pay_info_spec.rb +13 -1
- data/spec/models/token_model_api_response_spec.rb +1 -1
- data/spec/models/token_model_spec.rb +1 -1
- data/spec/models/trade_fund_bill_spec.rb +1 -1
- data/spec/models/trade_settle_detail_spec.rb +1 -1
- data/spec/models/trade_settle_info_spec.rb +1 -1
- data/spec/models/union_id_sign_in_request_spec.rb +1 -1
- data/spec/models/union_id_sign_up_request_spec.rb +1 -1
- data/spec/models/update_profile_request_spec.rb +1 -1
- data/spec/models/user_access_token_spec.rb +1 -1
- data/spec/models/user_common_interests_result_api_response_spec.rb +1 -1
- data/spec/models/user_common_interests_result_spec.rb +1 -1
- data/spec/models/user_currency_currency_trans_result_api_response_spec.rb +1 -1
- data/spec/models/user_currency_currency_trans_result_spec.rb +1 -1
- data/spec/models/user_currency_list_api_response_spec.rb +1 -1
- data/spec/models/user_currency_spec.rb +1 -1
- data/spec/models/user_followers_result_api_response_spec.rb +1 -1
- data/spec/models/user_followers_result_spec.rb +1 -1
- data/spec/models/user_friends_near_by_result_api_response_spec.rb +1 -1
- data/spec/models/user_friends_near_by_result_spec.rb +1 -1
- data/spec/models/user_location_post_result_api_response_spec.rb +1 -1
- data/spec/models/user_location_post_result_spec.rb +1 -1
- data/spec/models/user_locations_result_api_response_spec.rb +1 -1
- data/spec/models/user_locations_result_spec.rb +1 -1
- data/spec/models/user_logins_list_api_response_spec.rb +1 -1
- data/spec/models/user_logins_spec.rb +1 -1
- data/spec/models/user_mutual_followers_result_api_response_spec.rb +1 -1
- data/spec/models/user_mutual_followers_result_spec.rb +1 -1
- data/spec/models/user_mutual_followings_result_api_response_spec.rb +1 -1
- data/spec/models/user_mutual_followings_result_spec.rb +1 -1
- data/spec/models/user_profile_result_api_response_spec.rb +1 -1
- data/spec/models/user_profile_result_spec.rb +1 -1
- data/spec/models/user_qr_code_scan_result_api_response_spec.rb +1 -1
- data/spec/models/user_qr_code_scan_result_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/voucher_detail_spec.rb +1 -1
- data/spec/models/wechat_js_config_result_api_response_spec.rb +1 -1
- data/spec/models/wechat_js_config_result_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/zsgf_client.gemspec +1 -1
- metadata +140 -464
- data/docs/App.md +0 -50
- data/docs/AppApiResponse.md +0 -22
- data/docs/AppCheckVersionResult.md +0 -20
- data/docs/AppCheckVersionResultApiResponse.md +0 -22
- data/docs/AppListResult.md +0 -20
- data/docs/AppListResultApiResponse.md +0 -22
- data/docs/AppPostResult.md +0 -20
- data/docs/AppPostResultApiResponse.md +0 -22
- data/docs/AppSetting.md +0 -36
- data/docs/AppSettingApi.md +0 -1495
- data/docs/AppSettingApiResponse.md +0 -22
- data/docs/AppSettingGroupPostResult.md +0 -18
- data/docs/AppSettingGroupPostResultApiResponse.md +0 -22
- data/docs/AppSettingItemPostResult.md +0 -18
- data/docs/AppSettingItemPostResultApiResponse.md +0 -22
- data/docs/AppSettingListApiResponse.md +0 -22
- data/docs/AppSettingProviderPostResult.md +0 -18
- data/docs/AppSettingProviderPostResultApiResponse.md +0 -22
- data/docs/AppSettingSettingPostResult.md +0 -18
- data/docs/AppSettingSettingPostResultApiResponse.md +0 -22
- data/docs/AppUserListResponse.md +0 -40
- data/docs/AuthorizePolicy.md +0 -28
- data/docs/AuthorizePolicyApi.md +0 -377
- data/docs/AuthorizePolicyApiResponse.md +0 -22
- data/docs/AuthorizePolicyListApiResponse.md +0 -22
- data/docs/CreatePostResult.md +0 -18
- data/docs/CreatePostResultApiResponse.md +0 -22
- data/docs/Currency.md +0 -48
- data/docs/CurrencyApi.md +0 -677
- data/docs/CurrencyApiResponse.md +0 -22
- data/docs/CurrencyExchangeRate.md +0 -30
- data/docs/CurrencyExchangeRateApiResponse.md +0 -22
- data/docs/CurrencyListApiResponse.md +0 -22
- data/docs/CurrencyTransactionListApiResponse.md +0 -22
- data/docs/ExchangeRatePutRequest.md +0 -22
- data/docs/ExecuteFunctionRequest.md +0 -18
- data/docs/ListResponseItem.md +0 -36
- data/docs/ListResponseItemListApiResponse.md +0 -22
- data/docs/PostIndexRequest.md +0 -20
- data/docs/PostResult.md +0 -18
- data/docs/PostResultApiResponse.md +0 -22
- data/docs/Project.md +0 -34
- data/docs/ProjectApi.md +0 -367
- data/docs/ProjectApiResponse.md +0 -22
- data/docs/ProjectListResult.md +0 -20
- data/docs/ProjectListResultApiResponse.md +0 -22
- data/docs/ServiceGroup.md +0 -36
- data/docs/ServiceGroupApiResponse.md +0 -22
- data/docs/ServiceGroupListApiResponse.md +0 -22
- data/docs/ServiceItem.md +0 -48
- data/docs/ServiceItemApiResponse.md +0 -22
- data/docs/ServiceItemListApiResponse.md +0 -22
- data/docs/ServiceProvider.md +0 -38
- data/docs/ServiceProviderApiResponse.md +0 -22
- data/docs/ServiceProviderListApiResponse.md +0 -22
- data/docs/ServiceSettingApi.md +0 -1459
- data/docs/ServiceSettingGroupPostResult.md +0 -18
- data/docs/ServiceSettingGroupPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingItemPostResult.md +0 -18
- data/docs/ServiceSettingItemPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingProviderPostResult.md +0 -18
- data/docs/ServiceSettingProviderPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingSettingPostResult.md +0 -18
- data/docs/ServiceSettingSettingPostResultApiResponse.md +0 -22
- data/docs/Settings.md +0 -40
- data/docs/SettingsApiResponse.md +0 -22
- data/docs/SettingsListApiResponse.md +0 -22
- data/docs/StringListApiResponse.md +0 -22
- data/docs/SystemDirectoryItem.md +0 -24
- data/docs/SystemFileApi.md +0 -371
- data/docs/SystemFileItem.md +0 -24
- data/docs/SystemFileListResult.md +0 -22
- data/docs/SystemFileListResultApiResponse.md +0 -22
- data/docs/Team.md +0 -36
- data/docs/TeamApi.md +0 -297
- data/docs/UserApiResponse.md +0 -22
- data/docs/UserListResult.md +0 -20
- data/docs/UserListResultApiResponse.md +0 -22
- data/docs/UserSetting.md +0 -38
- data/docs/UserSettingApi.md +0 -379
- data/docs/UserSettingApiResponse.md +0 -22
- data/docs/UserSettingListApiResponse.md +0 -22
- data/docs/UserSettingPostResult.md +0 -18
- data/docs/UserSettingPostResultApiResponse.md +0 -22
- data/lib/zsgf_client/api/app_setting_api.rb +0 -1446
- data/lib/zsgf_client/api/currency_api.rb +0 -667
- data/lib/zsgf_client/api/project_api.rb +0 -345
- data/lib/zsgf_client/api/service_setting_api.rb +0 -1340
- data/lib/zsgf_client/api/system_file_api.rb +0 -333
- data/lib/zsgf_client/api/team_api.rb +0 -282
- data/lib/zsgf_client/models/app.rb +0 -583
- data/lib/zsgf_client/models/app_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_check_version_result.rb +0 -235
- data/lib/zsgf_client/models/app_check_version_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_list_result.rb +0 -232
- data/lib/zsgf_client/models/app_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_post_result.rb +0 -230
- data/lib/zsgf_client/models/app_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting.rb +0 -437
- data/lib/zsgf_client/models/app_setting_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_group_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_group_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_item_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_item_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/app_setting_provider_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_provider_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_setting_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_user_list_response.rb +0 -339
- data/lib/zsgf_client/models/authorize_policy.rb +0 -290
- data/lib/zsgf_client/models/authorize_policy_api_response.rb +0 -245
- data/lib/zsgf_client/models/authorize_policy_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/create_post_result.rb +0 -220
- data/lib/zsgf_client/models/create_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/currency.rb +0 -484
- data/lib/zsgf_client/models/currency_api_response.rb +0 -245
- data/lib/zsgf_client/models/currency_exchange_rate.rb +0 -330
- data/lib/zsgf_client/models/currency_exchange_rate_api_response.rb +0 -245
- data/lib/zsgf_client/models/currency_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/currency_transaction_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/exchange_rate_put_request.rb +0 -240
- data/lib/zsgf_client/models/execute_function_request.rb +0 -222
- data/lib/zsgf_client/models/list_response_item.rb +0 -308
- data/lib/zsgf_client/models/list_response_item_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/post_index_request.rb +0 -251
- data/lib/zsgf_client/models/post_result.rb +0 -220
- data/lib/zsgf_client/models/post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/project.rb +0 -353
- data/lib/zsgf_client/models/project_api_response.rb +0 -245
- data/lib/zsgf_client/models/project_list_result.rb +0 -232
- data/lib/zsgf_client/models/project_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_group.rb +0 -361
- data/lib/zsgf_client/models/service_group_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_group_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_item.rb +0 -502
- data/lib/zsgf_client/models/service_item_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_item_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_provider.rb +0 -403
- data/lib/zsgf_client/models/service_provider_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_provider_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_setting_group_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_group_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_item_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_item_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_provider_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_provider_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_setting_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/settings.rb +0 -445
- data/lib/zsgf_client/models/settings_api_response.rb +0 -245
- data/lib/zsgf_client/models/settings_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/string_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/system_directory_item.rb +0 -249
- data/lib/zsgf_client/models/system_file_item.rb +0 -249
- data/lib/zsgf_client/models/system_file_list_result.rb +0 -244
- data/lib/zsgf_client/models/system_file_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/team.rb +0 -376
- data/lib/zsgf_client/models/user_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_list_result.rb +0 -232
- data/lib/zsgf_client/models/user_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_setting.rb +0 -464
- data/lib/zsgf_client/models/user_setting_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_setting_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/user_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/user_setting_post_result_api_response.rb +0 -245
- data/spec/api/app_setting_api_spec.rb +0 -307
- data/spec/api/authorize_policy_api_spec.rb +0 -102
- data/spec/api/currency_api_spec.rb +0 -159
- data/spec/api/project_api_spec.rb +0 -97
- data/spec/api/service_setting_api_spec.rb +0 -289
- data/spec/api/system_file_api_spec.rb +0 -97
- data/spec/api/team_api_spec.rb +0 -85
- data/spec/models/app_api_response_spec.rb +0 -48
- data/spec/models/app_check_version_result_api_response_spec.rb +0 -48
- data/spec/models/app_check_version_result_spec.rb +0 -42
- data/spec/models/app_list_result_api_response_spec.rb +0 -48
- data/spec/models/app_list_result_spec.rb +0 -42
- data/spec/models/app_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_post_result_spec.rb +0 -42
- data/spec/models/app_setting_api_response_spec.rb +0 -48
- data/spec/models/app_setting_group_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_group_post_result_spec.rb +0 -36
- data/spec/models/app_setting_item_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_item_post_result_spec.rb +0 -36
- data/spec/models/app_setting_list_api_response_spec.rb +0 -48
- data/spec/models/app_setting_provider_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_provider_post_result_spec.rb +0 -36
- data/spec/models/app_setting_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_setting_post_result_spec.rb +0 -36
- data/spec/models/app_setting_spec.rb +0 -90
- data/spec/models/app_spec.rb +0 -132
- data/spec/models/app_user_list_response_spec.rb +0 -102
- data/spec/models/authorize_policy_api_response_spec.rb +0 -48
- data/spec/models/authorize_policy_list_api_response_spec.rb +0 -48
- data/spec/models/authorize_policy_spec.rb +0 -66
- data/spec/models/create_post_result_api_response_spec.rb +0 -48
- data/spec/models/create_post_result_spec.rb +0 -36
- data/spec/models/currency_api_response_spec.rb +0 -48
- data/spec/models/currency_exchange_rate_api_response_spec.rb +0 -48
- data/spec/models/currency_exchange_rate_spec.rb +0 -72
- data/spec/models/currency_list_api_response_spec.rb +0 -48
- data/spec/models/currency_spec.rb +0 -126
- data/spec/models/currency_transaction_list_api_response_spec.rb +0 -48
- data/spec/models/exchange_rate_put_request_spec.rb +0 -48
- data/spec/models/execute_function_request_spec.rb +0 -36
- data/spec/models/list_response_item_list_api_response_spec.rb +0 -48
- data/spec/models/list_response_item_spec.rb +0 -90
- data/spec/models/post_index_request_spec.rb +0 -42
- data/spec/models/post_result_api_response_spec.rb +0 -48
- data/spec/models/post_result_spec.rb +0 -36
- data/spec/models/project_api_response_spec.rb +0 -48
- data/spec/models/project_list_result_api_response_spec.rb +0 -48
- data/spec/models/project_list_result_spec.rb +0 -42
- data/spec/models/project_spec.rb +0 -84
- data/spec/models/service_group_api_response_spec.rb +0 -48
- data/spec/models/service_group_list_api_response_spec.rb +0 -48
- data/spec/models/service_group_spec.rb +0 -90
- data/spec/models/service_item_api_response_spec.rb +0 -48
- data/spec/models/service_item_list_api_response_spec.rb +0 -48
- data/spec/models/service_item_spec.rb +0 -126
- data/spec/models/service_provider_api_response_spec.rb +0 -48
- data/spec/models/service_provider_list_api_response_spec.rb +0 -48
- data/spec/models/service_provider_spec.rb +0 -96
- data/spec/models/service_setting_group_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_group_post_result_spec.rb +0 -36
- data/spec/models/service_setting_item_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_item_post_result_spec.rb +0 -36
- data/spec/models/service_setting_provider_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_provider_post_result_spec.rb +0 -36
- data/spec/models/service_setting_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_setting_post_result_spec.rb +0 -36
- data/spec/models/settings_api_response_spec.rb +0 -48
- data/spec/models/settings_list_api_response_spec.rb +0 -48
- data/spec/models/settings_spec.rb +0 -102
- data/spec/models/string_list_api_response_spec.rb +0 -48
- data/spec/models/system_directory_item_spec.rb +0 -54
- data/spec/models/system_file_item_spec.rb +0 -54
- data/spec/models/system_file_list_result_api_response_spec.rb +0 -48
- data/spec/models/system_file_list_result_spec.rb +0 -48
- data/spec/models/team_spec.rb +0 -90
- data/spec/models/user_api_response_spec.rb +0 -48
- data/spec/models/user_list_result_api_response_spec.rb +0 -48
- data/spec/models/user_list_result_spec.rb +0 -42
- data/spec/models/user_setting_api_response_spec.rb +0 -48
- data/spec/models/user_setting_list_api_response_spec.rb +0 -48
- data/spec/models/user_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/user_setting_post_result_spec.rb +0 -36
- data/spec/models/user_setting_spec.rb +0 -96
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
#用户全部 API 文档
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
@@ -46,36 +46,6 @@ describe 'StorageApi' do
|
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
# unit tests for storage_batch_update
|
|
50
|
-
# 批量更新指定条件的数据
|
|
51
|
-
# 批量更新指定表中符合条件的文档,可以动态指定查询条件和更新字段
|
|
52
|
-
# @param table 表名称
|
|
53
|
-
# @param filter 查询条件
|
|
54
|
-
# @param app_key
|
|
55
|
-
# @param request_body 更新的字段
|
|
56
|
-
# @param [Hash] opts the optional parameters
|
|
57
|
-
# @option opts [Boolean] :replace 是否为全量替换,默认为 false
|
|
58
|
-
# @return [BooleanApiResponse]
|
|
59
|
-
describe 'storage_batch_update test' do
|
|
60
|
-
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
# unit tests for storage_clear
|
|
66
|
-
# 清空表数据
|
|
67
|
-
# 根据筛选条件清空指定表中的数据
|
|
68
|
-
# @param table 表名称
|
|
69
|
-
# @param app_key
|
|
70
|
-
# @param [Hash] opts the optional parameters
|
|
71
|
-
# @option opts [String] :filter 筛选条件,json格式
|
|
72
|
-
# @return [Int64ApiResponse]
|
|
73
|
-
describe 'storage_clear test' do
|
|
74
|
-
it 'should work' do
|
|
75
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
49
|
# unit tests for storage_delete
|
|
80
50
|
# 删除数据
|
|
81
51
|
# 删除指定表中指定ID的数据
|
|
@@ -90,20 +60,6 @@ describe 'StorageApi' do
|
|
|
90
60
|
end
|
|
91
61
|
end
|
|
92
62
|
|
|
93
|
-
# unit tests for storage_delete_index
|
|
94
|
-
# 删除索引
|
|
95
|
-
# 删除指定表的指定索引
|
|
96
|
-
# @param table 表名称
|
|
97
|
-
# @param app_key
|
|
98
|
-
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [String] :index_name 索引名称
|
|
100
|
-
# @return [BooleanApiResponse]
|
|
101
|
-
describe 'storage_delete_index test' do
|
|
102
|
-
it 'should work' do
|
|
103
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
104
|
-
end
|
|
105
|
-
end
|
|
106
|
-
|
|
107
63
|
# unit tests for storage_detail
|
|
108
64
|
# 数据详情
|
|
109
65
|
# 获取指定表中指定ID的数据详情
|
|
@@ -119,65 +75,6 @@ describe 'StorageApi' do
|
|
|
119
75
|
end
|
|
120
76
|
end
|
|
121
77
|
|
|
122
|
-
# unit tests for storage_execute_function
|
|
123
|
-
# 执行函数
|
|
124
|
-
# 执行指定的函数
|
|
125
|
-
# @param nonce 随机字符串
|
|
126
|
-
# @param timestamp 时间戳
|
|
127
|
-
# @param signature 签名
|
|
128
|
-
# @param app_key
|
|
129
|
-
# @param [Hash] opts the optional parameters
|
|
130
|
-
# @option opts [ExecuteFunctionRequest] :execute_function_request 函数请求参数
|
|
131
|
-
# @return [ObjectApiResponse]
|
|
132
|
-
describe 'storage_execute_function test' do
|
|
133
|
-
it 'should work' do
|
|
134
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
# unit tests for storage_export
|
|
139
|
-
# 导出数据
|
|
140
|
-
# 根据筛选条件导出指定表中的数据
|
|
141
|
-
# @param table 表名称
|
|
142
|
-
# @param app_key
|
|
143
|
-
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @option opts [String] :filter 筛选条件,json格式
|
|
145
|
-
# @option opts [Time] :start_time 开始时间
|
|
146
|
-
# @option opts [Time] :end_time 结束时间
|
|
147
|
-
# @return [File]
|
|
148
|
-
describe 'storage_export test' do
|
|
149
|
-
it 'should work' do
|
|
150
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
|
-
end
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
# unit tests for storage_import
|
|
155
|
-
# 导入数据
|
|
156
|
-
# 从文件导入数据到指定表中
|
|
157
|
-
# @param table 表名称
|
|
158
|
-
# @param app_key
|
|
159
|
-
# @param [Hash] opts the optional parameters
|
|
160
|
-
# @option opts [File] :file 导入的文件
|
|
161
|
-
# @return [BooleanApiResponse]
|
|
162
|
-
describe 'storage_import test' do
|
|
163
|
-
it 'should work' do
|
|
164
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
# unit tests for storage_indexes
|
|
169
|
-
# 获取索引
|
|
170
|
-
# 获取指定表的索引列表
|
|
171
|
-
# @param table 表名称
|
|
172
|
-
# @param app_key
|
|
173
|
-
# @param [Hash] opts the optional parameters
|
|
174
|
-
# @return [ObjectListApiResponse]
|
|
175
|
-
describe 'storage_indexes test' do
|
|
176
|
-
it 'should work' do
|
|
177
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
178
|
-
end
|
|
179
|
-
end
|
|
180
|
-
|
|
181
78
|
# unit tests for storage_list
|
|
182
79
|
# 查询数据
|
|
183
80
|
# 根据条件查询指定表中的数据
|
|
@@ -213,20 +110,6 @@ describe 'StorageApi' do
|
|
|
213
110
|
end
|
|
214
111
|
end
|
|
215
112
|
|
|
216
|
-
# unit tests for storage_post_index
|
|
217
|
-
# 添加索引
|
|
218
|
-
# 为指定表添加索引
|
|
219
|
-
# @param table 表名称(小写字母加数字,1-50位)
|
|
220
|
-
# @param app_key
|
|
221
|
-
# @param [Hash] opts the optional parameters
|
|
222
|
-
# @option opts [PostIndexRequest] :post_index_request json对象 / json数组
|
|
223
|
-
# @return [StringApiResponse]
|
|
224
|
-
describe 'storage_post_index test' do
|
|
225
|
-
it 'should work' do
|
|
226
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
227
|
-
end
|
|
228
|
-
end
|
|
229
|
-
|
|
230
113
|
# unit tests for storage_put
|
|
231
114
|
# 更新数据
|
|
232
115
|
# 更新指定表中指定ID的数据,可以选择全量更新或部分更新
|
|
@@ -243,42 +126,4 @@ describe 'StorageApi' do
|
|
|
243
126
|
end
|
|
244
127
|
end
|
|
245
128
|
|
|
246
|
-
# unit tests for storage_remove
|
|
247
|
-
# 删除表
|
|
248
|
-
# 删除指定表
|
|
249
|
-
# @param table 表名称
|
|
250
|
-
# @param app_key
|
|
251
|
-
# @param [Hash] opts the optional parameters
|
|
252
|
-
# @return [BooleanApiResponse]
|
|
253
|
-
describe 'storage_remove test' do
|
|
254
|
-
it 'should work' do
|
|
255
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
256
|
-
end
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
# unit tests for storage_stats
|
|
260
|
-
# 数据表统计
|
|
261
|
-
# 获取指定表的数据统计信息
|
|
262
|
-
# @param table 表名称
|
|
263
|
-
# @param app_key
|
|
264
|
-
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @return [ObjectApiResponse]
|
|
266
|
-
describe 'storage_stats test' do
|
|
267
|
-
it 'should work' do
|
|
268
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
269
|
-
end
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
# unit tests for storage_tables
|
|
273
|
-
# 获取数据表
|
|
274
|
-
# 获取当前应用的所有数据表名称
|
|
275
|
-
# @param app_key
|
|
276
|
-
# @param [Hash] opts the optional parameters
|
|
277
|
-
# @return [StringListApiResponse]
|
|
278
|
-
describe 'storage_tables test' do
|
|
279
|
-
it 'should work' do
|
|
280
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
281
|
-
end
|
|
282
|
-
end
|
|
283
|
-
|
|
284
129
|
end
|
data/spec/api/user_api_spec.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
#用户全部 API 文档
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
@@ -32,46 +32,6 @@ describe 'UserApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for user
|
|
36
|
-
# 获取用户详情
|
|
37
|
-
# 根据用户ID获取用户详情
|
|
38
|
-
# @param id 用户ID
|
|
39
|
-
# @param app_key
|
|
40
|
-
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [UserApiResponse]
|
|
42
|
-
describe 'user test' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# unit tests for user_clear
|
|
49
|
-
# 清空用户数据
|
|
50
|
-
# 清空用户数据
|
|
51
|
-
# @param app_key
|
|
52
|
-
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @return [BooleanApiResponse]
|
|
54
|
-
describe 'user_clear test' do
|
|
55
|
-
it 'should work' do
|
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
# unit tests for user_common_interests
|
|
61
|
-
# 有共同爱好的用户推荐
|
|
62
|
-
# 推荐有共同爱好的用户
|
|
63
|
-
# @param app_key
|
|
64
|
-
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @option opts [String] :tag 兴趣标签
|
|
66
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
67
|
-
# @option opts [Integer] :take 获取的记录数
|
|
68
|
-
# @return [UserCommonInterestsResultApiResponse]
|
|
69
|
-
describe 'user_common_interests test' do
|
|
70
|
-
it 'should work' do
|
|
71
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
35
|
# unit tests for user_deactivate_hard
|
|
76
36
|
# 注销账号
|
|
77
37
|
# 清除用户所有附属数据,并注销账号
|
|
@@ -84,19 +44,6 @@ describe 'UserApi' do
|
|
|
84
44
|
end
|
|
85
45
|
end
|
|
86
46
|
|
|
87
|
-
# unit tests for user_delete
|
|
88
|
-
# 删除用户
|
|
89
|
-
# 根据用户ID删除用户
|
|
90
|
-
# @param id 用户ID
|
|
91
|
-
# @param app_key
|
|
92
|
-
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @return [BooleanApiResponse]
|
|
94
|
-
describe 'user_delete test' do
|
|
95
|
-
it 'should work' do
|
|
96
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
|
|
100
47
|
# unit tests for user_email_sign_in
|
|
101
48
|
# 邮箱登录
|
|
102
49
|
# 使用邮箱进行登录
|
|
@@ -123,285 +70,6 @@ describe 'UserApi' do
|
|
|
123
70
|
end
|
|
124
71
|
end
|
|
125
72
|
|
|
126
|
-
# unit tests for user_export
|
|
127
|
-
# 导出用户数据
|
|
128
|
-
# 导出所有用户数据为Excel文件
|
|
129
|
-
# @param app_key
|
|
130
|
-
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @return [File]
|
|
132
|
-
describe 'user_export test' do
|
|
133
|
-
it 'should work' do
|
|
134
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
# unit tests for user_follow_user
|
|
139
|
-
# 关注用户
|
|
140
|
-
# 关注指定用户
|
|
141
|
-
# @param user_id 要关注的用户ID
|
|
142
|
-
# @param app_key
|
|
143
|
-
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @return [BooleanApiResponse]
|
|
145
|
-
describe 'user_follow_user test' do
|
|
146
|
-
it 'should work' do
|
|
147
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
148
|
-
end
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
# unit tests for user_follower_put
|
|
152
|
-
# 更新粉丝
|
|
153
|
-
# 根据粉丝ID更新粉丝信息
|
|
154
|
-
# @param id 粉丝ID
|
|
155
|
-
# @param app_key
|
|
156
|
-
# @param [Hash] opts the optional parameters
|
|
157
|
-
# @option opts [FollowerPutModel] :follower_put_model 更新粉丝的请求参数
|
|
158
|
-
# @return [BooleanApiResponse]
|
|
159
|
-
describe 'user_follower_put test' do
|
|
160
|
-
it 'should work' do
|
|
161
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
162
|
-
end
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
# unit tests for user_followers
|
|
166
|
-
# 获取我的粉丝列表
|
|
167
|
-
# 根据条件获取我的粉丝列表
|
|
168
|
-
# @param app_key
|
|
169
|
-
# @param [Hash] opts the optional parameters
|
|
170
|
-
# @option opts [String] :tag 标签
|
|
171
|
-
# @option opts [String] :status 状态
|
|
172
|
-
# @option opts [Integer] :target_user_id 指定用户的粉丝
|
|
173
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
174
|
-
# @option opts [Integer] :take 获取的记录数
|
|
175
|
-
# @return [UserFollowersResultApiResponse]
|
|
176
|
-
describe 'user_followers test' do
|
|
177
|
-
it 'should work' do
|
|
178
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
179
|
-
end
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
# unit tests for user_following
|
|
183
|
-
# 获取当前用户的关注列表,或者判断是否关注某个特定用户。
|
|
184
|
-
# 根据条件获取我的关注列表,或判断是否关注某个用户
|
|
185
|
-
# @param app_key
|
|
186
|
-
# @param [Hash] opts the optional parameters
|
|
187
|
-
# @option opts [String] :tag 用于过滤关注列表的标签(可选)。
|
|
188
|
-
# @option opts [String] :status 用于过滤关注列表的状态(可选)。
|
|
189
|
-
# @option opts [Integer] :target_user_id 指定用户的关注记录,如果不提供则默认为当前用户的关注。
|
|
190
|
-
# @option opts [Integer] :skip 跳过的记录数,用于分页(默认0)。
|
|
191
|
-
# @option opts [Integer] :take 获取的记录数,用于分页(默认10)。
|
|
192
|
-
# @option opts [Integer] :check_user_id 要判断是否关注的目标用户ID。如果提供此参数,方法将返回一个布尔值,表示当前用户是否关注该目标用户。
|
|
193
|
-
# @option opts [Boolean] :only_ids 是否只返回关注用户的ID集合,默认为false(即返回完整的关注用户信息)。
|
|
194
|
-
# @return [BooleanApiResponse]
|
|
195
|
-
describe 'user_following test' do
|
|
196
|
-
it 'should work' do
|
|
197
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
198
|
-
end
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
# unit tests for user_friends_near_by
|
|
202
|
-
# 获取附近的用户推荐列表
|
|
203
|
-
# 根据地理位置坐标和多种筛选条件,查询附近满足条件的用户列表,支持分页和按距离排序。 地理位置查询使用MySQL的ST_Distance_Sphere函数计算球面距离。 注意:longitude为经度(X轴),latitude为纬度(Y轴),参数顺序与常规坐标系一致
|
|
204
|
-
# @param longitude 当前用户经度坐标(WGS84坐标系)
|
|
205
|
-
# @param latitude 当前用户纬度坐标(WGS84坐标系)
|
|
206
|
-
# @param app_key
|
|
207
|
-
# @param [Hash] opts the optional parameters
|
|
208
|
-
# @option opts [String] :country 国家过滤条件(精确匹配)
|
|
209
|
-
# @option opts [String] :state 省份过滤条件(精确匹配)
|
|
210
|
-
# @option opts [String] :city 城市过滤条件(精确匹配)
|
|
211
|
-
# @option opts [String] :district 区县过滤条件(精确匹配)
|
|
212
|
-
# @option opts [String] :gender 性别过滤条件(可选值示例:Male/Female/Other)
|
|
213
|
-
# @option opts [Integer] :age_s 年龄起始范围(包含,0表示不限制)
|
|
214
|
-
# @option opts [Integer] :age_e 年龄结束范围(包含,0表示不限制)
|
|
215
|
-
# @option opts [String] :tag 兴趣标签过滤(支持模糊匹配,如:\"运动\")
|
|
216
|
-
# @option opts [Integer] :distance 搜索半径(单位:米,0表示不限制距离)
|
|
217
|
-
# @option opts [Integer] :skip 跳过的记录数(分页起始位置,默认0)
|
|
218
|
-
# @option opts [Integer] :take 获取的记录数(分页大小,默认10,最大100)
|
|
219
|
-
# @return [UserFriendsNearByResultApiResponse]
|
|
220
|
-
describe 'user_friends_near_by test' do
|
|
221
|
-
it 'should work' do
|
|
222
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
# unit tests for user_import
|
|
227
|
-
# 导入用户数据
|
|
228
|
-
# 导入用户数据
|
|
229
|
-
# @param app_key
|
|
230
|
-
# @param [Hash] opts the optional parameters
|
|
231
|
-
# @option opts [Boolean] :check 是否进行检查
|
|
232
|
-
# @option opts [File] :file 导入的文件
|
|
233
|
-
# @return [BooleanApiResponse]
|
|
234
|
-
describe 'user_import test' do
|
|
235
|
-
it 'should work' do
|
|
236
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
237
|
-
end
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
# unit tests for user_location
|
|
241
|
-
# 获取位置详情
|
|
242
|
-
# 根据位置ID获取位置详情
|
|
243
|
-
# @param id 位置ID
|
|
244
|
-
# @param app_key
|
|
245
|
-
# @param [Hash] opts the optional parameters
|
|
246
|
-
# @return [GeoLocationModelApiResponse]
|
|
247
|
-
describe 'user_location test' do
|
|
248
|
-
it 'should work' do
|
|
249
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
250
|
-
end
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
# unit tests for user_location_delete
|
|
254
|
-
# 删除位置
|
|
255
|
-
# 根据位置ID删除位置信息
|
|
256
|
-
# @param id 位置ID
|
|
257
|
-
# @param app_key
|
|
258
|
-
# @param [Hash] opts the optional parameters
|
|
259
|
-
# @return [BooleanApiResponse]
|
|
260
|
-
describe 'user_location_delete test' do
|
|
261
|
-
it 'should work' do
|
|
262
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
# unit tests for user_location_post
|
|
267
|
-
# 添加位置
|
|
268
|
-
# 添加新的位置信息
|
|
269
|
-
# @param app_key
|
|
270
|
-
# @param [Hash] opts the optional parameters
|
|
271
|
-
# @option opts [GeoLocationModel] :geo_location_model 位置信息
|
|
272
|
-
# @return [UserLocationPostResultApiResponse]
|
|
273
|
-
describe 'user_location_post test' do
|
|
274
|
-
it 'should work' do
|
|
275
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
276
|
-
end
|
|
277
|
-
end
|
|
278
|
-
|
|
279
|
-
# unit tests for user_location_put
|
|
280
|
-
# 更新位置
|
|
281
|
-
# 此方法用于更新指定位置ID的位置信息。如果位置不存在,则创建一个新的位置。
|
|
282
|
-
# @param id 位置ID
|
|
283
|
-
# @param app_key
|
|
284
|
-
# @param [Hash] opts the optional parameters
|
|
285
|
-
# @option opts [GeoLocationModel] :geo_location_model 位置信息
|
|
286
|
-
# @return [BooleanApiResponse]
|
|
287
|
-
describe 'user_location_put test' do
|
|
288
|
-
it 'should work' do
|
|
289
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
290
|
-
end
|
|
291
|
-
end
|
|
292
|
-
|
|
293
|
-
# unit tests for user_locations
|
|
294
|
-
# 获取位置列表
|
|
295
|
-
# 根据条件获取位置列表
|
|
296
|
-
# @param app_key
|
|
297
|
-
# @param [Hash] opts the optional parameters
|
|
298
|
-
# @option opts [String] :tag 标签
|
|
299
|
-
# @option opts [String] :type 分类
|
|
300
|
-
# @option opts [Float] :x 纬度
|
|
301
|
-
# @option opts [Float] :y 经度
|
|
302
|
-
# @option opts [Integer] :sphere 附近距离,单位:米
|
|
303
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
304
|
-
# @option opts [Integer] :take 获取的记录数
|
|
305
|
-
# @return [UserLocationsResultApiResponse]
|
|
306
|
-
describe 'user_locations test' do
|
|
307
|
-
it 'should work' do
|
|
308
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
309
|
-
end
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
# unit tests for user_mutual_followers
|
|
313
|
-
# 有共同粉丝的用户推荐
|
|
314
|
-
# 推荐有共同粉丝的用户
|
|
315
|
-
# @param app_key
|
|
316
|
-
# @param [Hash] opts the optional parameters
|
|
317
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
318
|
-
# @option opts [Integer] :take 获取的记录数
|
|
319
|
-
# @return [UserMutualFollowersResultApiResponse]
|
|
320
|
-
describe 'user_mutual_followers test' do
|
|
321
|
-
it 'should work' do
|
|
322
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
323
|
-
end
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
# unit tests for user_mutual_followings
|
|
327
|
-
# 有共同关注的用户推荐
|
|
328
|
-
# 推荐有共同关注的用户
|
|
329
|
-
# @param app_key
|
|
330
|
-
# @param [Hash] opts the optional parameters
|
|
331
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
332
|
-
# @option opts [Integer] :take 获取的记录数
|
|
333
|
-
# @return [UserMutualFollowingsResultApiResponse]
|
|
334
|
-
describe 'user_mutual_followings test' do
|
|
335
|
-
it 'should work' do
|
|
336
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
337
|
-
end
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
# unit tests for user_o_auth_account_bind
|
|
341
|
-
# 外部账号 绑定,如果已存在绑定则直接返回成功
|
|
342
|
-
# 绑定外部账号
|
|
343
|
-
# @param app_key
|
|
344
|
-
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [OAuthAccountBindRequest] :o_auth_account_bind_request 绑定请求参数
|
|
346
|
-
# @return [BooleanApiResponse]
|
|
347
|
-
describe 'user_o_auth_account_bind test' do
|
|
348
|
-
it 'should work' do
|
|
349
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
350
|
-
end
|
|
351
|
-
end
|
|
352
|
-
|
|
353
|
-
# unit tests for user_o_auth_account_sign_in
|
|
354
|
-
# 外部账号 登录
|
|
355
|
-
# 使用外部账号进行登录
|
|
356
|
-
# @param app_key
|
|
357
|
-
# @param [Hash] opts the optional parameters
|
|
358
|
-
# @option opts [OAuthAccountSignInRequest] :o_auth_account_sign_in_request 登录请求参数
|
|
359
|
-
# @return [TokenModelApiResponse]
|
|
360
|
-
describe 'user_o_auth_account_sign_in test' do
|
|
361
|
-
it 'should work' do
|
|
362
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
363
|
-
end
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
# unit tests for user_o_auth_accounts
|
|
367
|
-
# 外部账号 绑定列表
|
|
368
|
-
# 获取外部账号绑定列表
|
|
369
|
-
# @param app_key
|
|
370
|
-
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @return [UserLoginsListApiResponse]
|
|
372
|
-
describe 'user_o_auth_accounts test' do
|
|
373
|
-
it 'should work' do
|
|
374
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
375
|
-
end
|
|
376
|
-
end
|
|
377
|
-
|
|
378
|
-
# unit tests for user_o_auth_accounts_put_bind
|
|
379
|
-
# 外部账号 更新绑定
|
|
380
|
-
# 更新外部账号绑定信息
|
|
381
|
-
# @param id 绑定ID
|
|
382
|
-
# @param app_key
|
|
383
|
-
# @param [Hash] opts the optional parameters
|
|
384
|
-
# @option opts [OAuthAccountPutBindRequest] :o_auth_account_put_bind_request 更新请求参数
|
|
385
|
-
# @return [BooleanApiResponse]
|
|
386
|
-
describe 'user_o_auth_accounts_put_bind test' do
|
|
387
|
-
it 'should work' do
|
|
388
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
389
|
-
end
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
# unit tests for user_o_auth_accounts_un_bind
|
|
393
|
-
# 外部账号 删除绑定
|
|
394
|
-
# 删除外部账号绑定
|
|
395
|
-
# @param id 绑定ID
|
|
396
|
-
# @param app_key
|
|
397
|
-
# @param [Hash] opts the optional parameters
|
|
398
|
-
# @return [BooleanApiResponse]
|
|
399
|
-
describe 'user_o_auth_accounts_un_bind test' do
|
|
400
|
-
it 'should work' do
|
|
401
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
402
|
-
end
|
|
403
|
-
end
|
|
404
|
-
|
|
405
73
|
# unit tests for user_phone_sign_in
|
|
406
74
|
# 手机登录
|
|
407
75
|
# 使用手机号码进行登录
|
|
@@ -440,85 +108,6 @@ describe 'UserApi' do
|
|
|
440
108
|
end
|
|
441
109
|
end
|
|
442
110
|
|
|
443
|
-
# unit tests for user_profile_by_id
|
|
444
|
-
# 获取指定用户资料
|
|
445
|
-
# 用于他人主页展示
|
|
446
|
-
# @param user_id 用户ID
|
|
447
|
-
# @param app_key
|
|
448
|
-
# @param [Hash] opts the optional parameters
|
|
449
|
-
# @return [GetUserProfileResultApiResponse]
|
|
450
|
-
describe 'user_profile_by_id test' do
|
|
451
|
-
it 'should work' do
|
|
452
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
453
|
-
end
|
|
454
|
-
end
|
|
455
|
-
|
|
456
|
-
# unit tests for user_put
|
|
457
|
-
# 更新用户信息
|
|
458
|
-
# 根据用户ID更新用户信息
|
|
459
|
-
# @param id 用户ID
|
|
460
|
-
# @param app_key
|
|
461
|
-
# @param [Hash] opts the optional parameters
|
|
462
|
-
# @option opts [User] :user 用户信息
|
|
463
|
-
# @return [BooleanApiResponse]
|
|
464
|
-
describe 'user_put test' do
|
|
465
|
-
it 'should work' do
|
|
466
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
467
|
-
end
|
|
468
|
-
end
|
|
469
|
-
|
|
470
|
-
# unit tests for user_qr_code_pre_sign_in
|
|
471
|
-
# 微信小程序 - 预登陆
|
|
472
|
-
# 使用微信小程序二维码进行预登陆
|
|
473
|
-
# @param app_key
|
|
474
|
-
# @param [Hash] opts the optional parameters
|
|
475
|
-
# @option opts [QRCodePreSignInRequest] :qr_code_pre_sign_in_request 预登陆请求参数
|
|
476
|
-
# @return [Int64ApiResponse]
|
|
477
|
-
describe 'user_qr_code_pre_sign_in test' do
|
|
478
|
-
it 'should work' do
|
|
479
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
480
|
-
end
|
|
481
|
-
end
|
|
482
|
-
|
|
483
|
-
# unit tests for user_qr_code_scan
|
|
484
|
-
# 微信小程序 - 扫码
|
|
485
|
-
# 使用微信小程序二维码进行扫码
|
|
486
|
-
# @param app_key
|
|
487
|
-
# @param [Hash] opts the optional parameters
|
|
488
|
-
# @option opts [QRCodeScanRequest] :qr_code_scan_request 扫码请求参数
|
|
489
|
-
# @return [UserQRCodeScanResultApiResponse]
|
|
490
|
-
describe 'user_qr_code_scan test' do
|
|
491
|
-
it 'should work' do
|
|
492
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
493
|
-
end
|
|
494
|
-
end
|
|
495
|
-
|
|
496
|
-
# unit tests for user_qr_code_sign_in
|
|
497
|
-
# 微信小程序 - 网页登录
|
|
498
|
-
# 使用微信小程序二维码进行网页登录
|
|
499
|
-
# @param app_key
|
|
500
|
-
# @param [Hash] opts the optional parameters
|
|
501
|
-
# @option opts [QRCodeSignInRequest] :qr_code_sign_in_request 登录请求参数
|
|
502
|
-
# @return [TokenModelApiResponse]
|
|
503
|
-
describe 'user_qr_code_sign_in test' do
|
|
504
|
-
it 'should work' do
|
|
505
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
506
|
-
end
|
|
507
|
-
end
|
|
508
|
-
|
|
509
|
-
# unit tests for user_qr_code_sign_up
|
|
510
|
-
# 微信小程序 - 注册
|
|
511
|
-
# 使用微信小程序二维码进行注册
|
|
512
|
-
# @param app_key
|
|
513
|
-
# @param [Hash] opts the optional parameters
|
|
514
|
-
# @option opts [QRCodeSignUpRequest] :qr_code_sign_up_request 注册请求参数
|
|
515
|
-
# @return [TokenModelApiResponse]
|
|
516
|
-
describe 'user_qr_code_sign_up test' do
|
|
517
|
-
it 'should work' do
|
|
518
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
519
|
-
end
|
|
520
|
-
end
|
|
521
|
-
|
|
522
111
|
# unit tests for user_reset_email
|
|
523
112
|
# 重置邮箱
|
|
524
113
|
# 通过邮箱验证码重置邮箱
|
|
@@ -585,7 +174,7 @@ describe 'UserApi' do
|
|
|
585
174
|
end
|
|
586
175
|
|
|
587
176
|
# unit tests for user_sign_in
|
|
588
|
-
#
|
|
177
|
+
# 密码登录
|
|
589
178
|
# 使用账号密码进行登录
|
|
590
179
|
# @param app_key
|
|
591
180
|
# @param [Hash] opts the optional parameters
|
|
@@ -598,7 +187,7 @@ describe 'UserApi' do
|
|
|
598
187
|
end
|
|
599
188
|
|
|
600
189
|
# unit tests for user_sign_up
|
|
601
|
-
#
|
|
190
|
+
# 账号注册
|
|
602
191
|
# 使用账号密码进行注册
|
|
603
192
|
# @param app_key
|
|
604
193
|
# @param [Hash] opts the optional parameters
|
|
@@ -611,8 +200,8 @@ describe 'UserApi' do
|
|
|
611
200
|
end
|
|
612
201
|
|
|
613
202
|
# unit tests for user_two_factor_auth
|
|
614
|
-
#
|
|
615
|
-
#
|
|
203
|
+
# 二次验证
|
|
204
|
+
# 获取当前用户在指定应用下启用二次验证(2FA)所需的设置信息,主要包括二维码链接和手动密钥,用户可以将其录入在 Google Authenticator 等 TOTP 应用中,用于后续动态验证码验证。
|
|
616
205
|
# @param app_key
|
|
617
206
|
# @param [Hash] opts the optional parameters
|
|
618
207
|
# @return [SetupCodeApiResponse]
|
|
@@ -622,19 +211,6 @@ describe 'UserApi' do
|
|
|
622
211
|
end
|
|
623
212
|
end
|
|
624
213
|
|
|
625
|
-
# unit tests for user_unfollow_user
|
|
626
|
-
# 取消关注
|
|
627
|
-
# 取消关注指定用户
|
|
628
|
-
# @param user_id 要取消关注的用户ID
|
|
629
|
-
# @param app_key
|
|
630
|
-
# @param [Hash] opts the optional parameters
|
|
631
|
-
# @return [BooleanApiResponse]
|
|
632
|
-
describe 'user_unfollow_user test' do
|
|
633
|
-
it 'should work' do
|
|
634
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
635
|
-
end
|
|
636
|
-
end
|
|
637
|
-
|
|
638
214
|
# unit tests for user_union_id_sign_in
|
|
639
215
|
# UnionID登录
|
|
640
216
|
# 使用UnionID进行登录
|
|
@@ -674,24 +250,4 @@ describe 'UserApi' do
|
|
|
674
250
|
end
|
|
675
251
|
end
|
|
676
252
|
|
|
677
|
-
# unit tests for users
|
|
678
|
-
# 获取用户列表
|
|
679
|
-
# 根据条件获取用户列表
|
|
680
|
-
# @param app_key
|
|
681
|
-
# @param [Hash] opts the optional parameters
|
|
682
|
-
# @option opts [String] :user_name 用户名
|
|
683
|
-
# @option opts [String] :email 邮箱
|
|
684
|
-
# @option opts [String] :phone 电话
|
|
685
|
-
# @option opts [String] :platform 平台
|
|
686
|
-
# @option opts [String] :union_id 联合ID
|
|
687
|
-
# @option opts [String] :role 角色
|
|
688
|
-
# @option opts [Integer] :skip 跳过的记录数
|
|
689
|
-
# @option opts [Integer] :take 获取的记录数
|
|
690
|
-
# @return [UserListResultApiResponse]
|
|
691
|
-
describe 'users test' do
|
|
692
|
-
it 'should work' do
|
|
693
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
694
|
-
end
|
|
695
|
-
end
|
|
696
|
-
|
|
697
253
|
end
|