Browse Source

谷歌支付

徐勤民 3 months ago
parent
commit
fcca8a2fa0

+ 1 - 0
app/src/main/java/com/xuqinmin/android/app/repository/HeaderInterceptor.kt

@@ -60,6 +60,7 @@ class HeaderInterceptor(val context: Context) : Interceptor {
             .addHeader("a-req-id", reqId).addHeader("a-time", time.toString())
             .addHeader("cardtype", context.getStringForPreferences(MCC))
             .addHeader("pge", "Golivei001")
+//            .addHeader("pge", "Golivea001")
 //            .addHeader("pge", "Thrillgg002")
             .addHeader("vn", BuildConfig.VERSION_NAME)
             .addHeader("platform", "0")

+ 2 - 1
app/src/main/java/com/xuqinmin/android/app/ui/CoinStoreActivity.kt

@@ -41,7 +41,8 @@ class CoinStoreActivity : BaseActivity<ActivityCoinStoreBinding>() {
                 startConnection()
                 return@setItemClickListener
             }
-            startPay("com.1.99.250.gcoins")
+            startPay(item.acode)
+//            startPay("com.1.99.250.gcoins")
         }
 
     }