uni-payment.md 589 字节
Newer Older
1 2 3 4
## uni-payment

### 微信支付

WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
5 6 7 8 9 10 11 12
项目应用下的build.gradle添加:

```
dependencies {
    implementation 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.0'
}
```

13 14
|本地依赖库名称									|
|:--											|
WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
15 16
|un-payment-release.aar	|
|uni-payment-wxpay-release.aar	|
17

WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
18
### 支付宝支付
19

WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
20 21 22 23 24 25 26 27
项目应用下的build.gradle添加:

```
dependencies {
    implementation 'com.alipay.sdk:alipaysdk-android:15.8.17'
}
```

28 29
|本地依赖库名称									|
|:--											|
WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
30
|un-payment-release.aar	|
WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
31
|uni-payment-alipay-release.aar	|
32

WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
33

WOSHIMAHAIFENG's avatar
WOSHIMAHAIFENG 已提交
34
将本地依赖库复制到app项目的libs下