Skip to content

Commit

Permalink
fix: remove ali secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Jun 21, 2021
1 parent fe4b906 commit 82a47d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions init/functions/sms-service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { v4 as uuidv4 } from 'uuid'
import * as crypto from 'crypto'
const querystring = require('querystring')

const accessKeyId = 'LTAI5tC3FoH47fQT7oZdcYEw'
const accessKeySecret = 'B7NHLuoFKvrPw8w3QIBZWNn4zrZcpp'
const accessKeyId = '修改为你的阿里云访问Key ID' // 阿里云访问 Key ID
const accessKeySecret = '修改为你的阿里云访问Key密钥' // 阿里云访问 Key Secret
const api_entrypoint = 'https://dysmsapi.aliyuncs.com'
const signName = '灼灼信息'
const templateCode = 'SMS_217850726'
const signName = '灼灼信息' // 短信签名,修改为你的签名
const templateCode = 'SMS_217850726' // 短信模板,修改为你的模板ID

/**
* @body phone string 手机号
Expand Down

0 comments on commit 82a47d6

Please sign in to comment.