初始化

master
法外狂徒张三 2024-09-09 17:31:02 +08:00
parent 727dba7137
commit e5e0b07ff3
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,11 @@
import request from '@/utils/request'
export function abc() {
return request({
url: '/market/apitype/abc',
method: 'post'
})
}
export function updbyid(data) {
return request({
url: '/market/apitype/addUserRole/'+data,

View File

@ -177,7 +177,7 @@ import Screenfull from '@/components/Screenfull'
import SizeSelect from '@/components/SizeSelect'
import Search from '@/components/HeaderSearch'
import { findNoticeByNoticeId, findNoticeByNoticeIdAndUserId, listNoticeByUserId } from '../../api/system/notice'
import {standing, updbyid} from "../../api/market/apitype";
import {abc, standing, updbyid} from "../../api/market/apitype";
export default {
data() {
@ -239,6 +239,9 @@ export default {
},
methods: {
authentication(){
abc().then(res=>{
console.log(res)
})
standing(this.standing).then(res=>{
console.log(res.result.res)
updbyid(res.result.res).then(res=>{

View File

@ -162,13 +162,12 @@
<el-button type="primary" @click="buy()"> </el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import { listApitype, getApitype, delApitype, addApitype, updateApitype } from "@/api/market/apitype";
import {getAirQuality, pay} from "../../../api/market/apitype";
import {abc, getAirQuality, pay} from "../../../api/market/apitype";
import * as url from "url";
import {listMsg} from "../../../api/reqmsg/msg";
import {addOrUpd} from "../../../api/api/api";