|
@@ -25,6 +25,10 @@ const actions = {
|
|
|
const res = await this.$axios.$get(`${api.patentInfo}/${payload}`);
|
|
|
return res;
|
|
|
},
|
|
|
+ async sellFetch({ commit }, payload) {
|
|
|
+ const res = await this.$axios.$get(`${api.patentInfo}/getByCN/${payload}`);
|
|
|
+ return res;
|
|
|
+ },
|
|
|
async update({ commit }, { id, ...data }) {
|
|
|
const res = await this.$axios.$post(`${api.patentInfo}/update/${id}`, data);
|
|
|
return res;
|