This commit is contained in:
2023-09-21 12:00:51 +08:00
parent a626d36591
commit b28caaad4c
12 changed files with 397 additions and 37 deletions

View File

@@ -113,11 +113,12 @@ Page({
registerForm(e) {
let value = e.detail.value
let data = {
nickname : value.nickname,
username : this.data.phone,
code : value.code,
password : value.password,
password_confirmation : value.password_confirmation,
parent_id : getApp().globalData.invite
parent_id : getApp().globalData.invite,
}
wx.$api.auth.register(data).then(res => {
// 存储登录信息