更新接口

This commit is contained in:
mkm 2024-02-28 10:09:32 +08:00
parent ec3385d2ff
commit f8c7ecf906

View File

@ -72,10 +72,10 @@ export default {
methods: {
getInfo() {
this.fullscreenLoading = true
getStoreTypeApi('sys_merchant_type').then(res => {
getStoreTypeApi('sys_supply_type').then(res => {
const info = res.data
this.formValidate = {
agree: info.sys_merchant_type,
agree: info.sys_supply_type,
}
this.fullscreenLoading = false
}).catch(res => {
@ -90,7 +90,7 @@ export default {
this.$message.warning("请输入协议信息!");
return
}else{
updateStoreTypeApi('sys_merchant_type',this.formValidate).then(async res => {
updateStoreTypeApi('sys_supply_type',this.formValidate).then(async res => {
this.fullscreenLoading = false
this.$message.success(res.message)
}).catch(res => {