Skip to content

Commit

Permalink
update release version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
snchengqi committed Aug 25, 2020
1 parent 759e7e4 commit e31a9d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.cm-heclouds</groupId>
<artifactId>onenet-studio-api-sdk</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>

<name>onenet-studio-api-sdk</name>
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ JDK1.8及以上
<dependency>
<groupId>com.github.cm-heclouds</groupId>
<artifactId>onenet-studio-api-sdk</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```

### Gradle

```groovy
implementation 'com.github.cm-heclouds:onenet-studio-api-sdk:1.0.0'
implementation 'com.github.cm-heclouds:onenet-studio-api-sdk:1.0.1'
```

### SBT

```scala
libraryDependencies += "com.github.cm-heclouds" % "onenet-studio-api-sdk" % "1.0.0"
libraryDependencies += "com.github.cm-heclouds" % "onenet-studio-api-sdk" % "1.0.1"
```

## 如何使用
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public class ApiTest {
private final String userId = "<your userId>";
private final String accessKey = "<your accessKey>";

private final String url = "";

IotClient client;

/**
Expand All @@ -29,10 +27,8 @@ public class ApiTest {
public void initClient() {
IotProfile profile = new IotProfile();
profile.userId(userId)
// .roleId(roleId)
.accessKey(accessKey)
.enableSsl(true)
// .url(url)
.signatureMethod(SignatureMethod.SHA256);
client = IotClient.create(profile);
}
Expand Down

0 comments on commit e31a9d7

Please sign in to comment.