Skip to content

Commit a37c7ef

Browse files
author
dfounderliu
committed
fix status
1 parent ed06754 commit a37c7ef

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-tencent-scf",
3-
"version": "0.1.36",
3+
"version": "0.1.37",
44
"description": "Provider plugin for the Serverless Framework v1.x which adds support for Tencent Cloud Functions.",
55
"main": "index.js",
66
"author": "Tencent Cloud, Inc.",

provider/tencentProvider.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,23 @@ class TencentProvider {
105105
const getUserAuthInfo = new GetUserAuthInfo()
106106
const result = await getUserAuthInfo.isAuth(uin, this.reportInputs)
107107
if (result['Error'] == true) {
108-
console.log('Failed to get real name authentication result.')
108+
console.log('未获取到实名认证结果,请重试。')
109109
process.exit(-1)
110110
} else {
111111
if (result['Message']['Authentication'] == 1) {
112112
return true
113113
}
114114
const verifyUrl = 'https://cloud.tencent.com/verify/identity'
115115
console.log(
116-
"You don't have real name authentication yet. You can open the url or scan QR code for real name authentication."
116+
'系统检测您还未进行实名认证,请您扫描二下方二维码或者进入下方的地址,进行实名认证,实名认证之后可重新操作。'
117117
)
118-
console.log('Real name authentication url: ')
118+
console.log('实名认证地址: ')
119119
console.log('https://console.cloud.tencent.com/developer/auth')
120-
console.log('Real name authentication QR code: ')
120+
console.log('实名认证二维码: ')
121121
QRCode.toString(verifyUrl, { type: 'terminal' }, function(err, url) {
122122
console.log(url)
123123
})
124-
console.log('Please re operate after real name authentication.')
124+
console.log('请实名认证之后,重新执行本次操作。')
125125
process.exit(-1)
126126
}
127127
} catch (e) {

0 commit comments

Comments
 (0)