提交 c2738b63 编写于 作者: C chenruilong

fix(uni-id-co): error message value field

上级 24198a0b
...@@ -23,7 +23,7 @@ module.exports = function () { ...@@ -23,7 +23,7 @@ module.exports = function () {
if (!this.config.requestAuthSecret || typeof this.config.requestAuthSecret !== 'string') { if (!this.config.requestAuthSecret || typeof this.config.requestAuthSecret !== 'string') {
throw { throw {
errCode: ERROR.CONFIG_FIELD_REQUIRED, errCode: ERROR.CONFIG_FIELD_REQUIRED,
errMsgVal: { errMsgValue: {
field: 'requestAuthSecret' field: 'requestAuthSecret'
} }
} }
......
...@@ -92,7 +92,7 @@ module.exports = async function (params = {}) { ...@@ -92,7 +92,7 @@ module.exports = async function (params = {}) {
if (!uid && !externalUid) { if (!uid && !externalUid) {
throw { throw {
errCode: ERROR.PARAM_REQUIRED, errCode: ERROR.PARAM_REQUIRED,
errMsgVal: { errMsgValue: {
param: 'uid or externalUid' param: 'uid or externalUid'
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册