| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import request from '@/utils/request' //引入axios请求及拦截器
- export default {
- //新增证书
- appBaseCertificate(data) {
- return request({
- url: '/base/certificate',
- method: 'post',
- data
- })
- },
- //修改证书
- editBaseCertificate(data) {
- return request({
- url: '/base/certificate/edit',
- method: 'post',
- data
- })
- },
- //查询证书列表
- inquireBaseCertificate(data) {
- return request({
- url: '/base/certificate/list',
- method: 'get',
- params: data
- })
- },
- //获取证书详细信息
- obtainBaseCertificate(data) {
- return request({
- url: `/base/certificate/` + data,
- method: 'get',
- })
- },
- /**
- *
- * @remarks 证书模板
- */
- //新增证书模板
- appBaseCertificatetp(data) {
- return request({
- url: '/certificate/tp',
- method: 'post',
- data
- })
- },
- //修改证书模板
- editBaseCertificatetp(data) {
- return request({
- url: '/certificate/tp/edit',
- method: 'post',
- data
- })
- },
- //查询证书模板列表
- inquireBaseCertificatetp(data) {
- return request({
- url: '/certificate/tp/list',
- method: 'get',
- params: data
- })
- },
- //获取证书模板详细信息
- obtainBaseCertificatetp(data) {
- return request({
- url: `/certificate/tp/` + data,
- method: 'get',
- })
- },
- //查询用户证书列表
- inquireBaseuserCertificatelist(data) {
- return request({
- url: '/user/certificate/list',
- method: 'get',
- params: data
- })
- },
- }
|