interface JsApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<JsTicketResponse> |
agentJsApiTicket(String agentConfig)
获取应用的jsapi_ticket
|
io.reactivex.rxjava3.core.Single<JsTicketResponse> |
corpJsApiTicket()
获取企业的jsapi_ticket
|
io.reactivex.rxjava3.core.Single<LaunchCodeResponse> |
getLaunchCode(LaunchCodeRequest request)
获取launch_code
|
@GET(value="get_jsapi_ticket") io.reactivex.rxjava3.core.Single<JsTicketResponse> corpJsApiTicket()
@GET(value="ticket/get") io.reactivex.rxjava3.core.Single<JsTicketResponse> agentJsApiTicket(@Query(value="type") String agentConfig)
agentConfig - the agent config@POST(value="get_launch_code") io.reactivex.rxjava3.core.Single<LaunchCodeResponse> getLaunchCode(@Body LaunchCodeRequest request)
request - the requestCopyright © 2024. All rights reserved.