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

chore: 签名相关接口新增type参数

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