提交 9b15f12a authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 c12455e5
......@@ -57,7 +57,7 @@ export default class OtherAPI extends BaseAPI {
/**
* 签名
*/
createSign = () => this.post('/api/usercenter/v1/sign/sign')
createSign = (obj = {}) => this.post('/api/usercenter/v1/sign/sign', obj)
/**
* 获取签名文档
......
......@@ -57,7 +57,7 @@ export default {
},
methods: {
createSign() {
cAction.Other.createSign().then(response => {
cAction.Other.createSign({ type: 'camp-notice' }).then(response => {
const { code, data } = response
if (code === 1) {
this.sign = data
......@@ -73,7 +73,7 @@ export default {
})
},
getSignDocument(flowid) {
return cAction.Other.getSignDocument({ flowid }).then(response => {
return cAction.Other.getSignDocument({ flowid, type: 'camp-notice' }).then(response => {
const { code, data } = response
if (code === 1) {
this.documentUrl = data.url
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论