聯(lián)系官方銷售客服
1835022288
028-61286886
插件名稱 | API接口 V7.8 |
插件作者 | 迅睿官方團(tuán)隊 |
最近更新 | 2025-03-06 07:21:54 |
支持對達(dá)夢數(shù)據(jù)庫的驅(qū)動 |
this.$refs.loginFormRef.validate(async (valid) => { if (!valid) return const { data: res } = await this.$http.post( '/index.php?v=1&appid=1&appsecret=YD26F9E3E7EC474&s=member&c=login&m=index', this.loginForm, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } } ) })
loginForm: {
username: '',
password: '',
is_ajax: '1'
}
上面是我的登錄接口請求,我怎么實現(xiàn)官方的請求,
is_ajax=1&data[username]=admin&data[password]=admin
我怎么也弄不成官方的data[username]=admin
我的請求是這樣的
請問怎么改進(jìn)呢
this.qs.stringify(this.loginForm)
問題已解決