| | |
| | | |
| | | @BaseRequest( |
| | | baseURL = "{rongyunApiUrl}", |
| | | sslProtocol = "TLS" |
| | | ) |
| | | public interface RongCloudClient { |
| | | |
| | | @Post(url = "/user/getToken.json", headers = { |
| | | headers = { |
| | | "App-Key:{AppKey}", |
| | | "Nonce:{Nonce}", |
| | | "Timestamp:{Timestamp}", |
| | | "Signature:{Signature}", |
| | | }) |
| | | }, |
| | | sslProtocol = "TLS" |
| | | ) |
| | | public interface RongCloudClient { |
| | | |
| | | @Post(url = "/user/getToken.json") |
| | | public String getToken(@Var("rongyunApiUrl") String rongyunApiUrl,@Var("AppKey") String AppKey, @Var("Nonce") String Nonce, @Var("Timestamp") String Timestamp, @Var("Signature") String Signature, @Body TokenParam param); |
| | | |
| | | } |