Skip to content

Commit

Permalink
fix:修改json对象类型
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkioTomas committed May 26, 2023
1 parent 845f3ca commit ab74152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/net/ankio/vpay/utils/PushUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ object PushUtils {

val jsonObject = JSONObject()
jsonObject.put("t", java.lang.String.valueOf(Date().time/1000))
jsonObject.put("type", type)
jsonObject.put("price", price)
jsonObject.put("type", java.lang.String.valueOf(type))
jsonObject.put("price", java.lang.String.valueOf(price))
jsonObject.put("sign", md5(jsonObject.toString() + key))

try {
Expand Down

0 comments on commit ab74152

Please sign in to comment.