|
@@ -47,8 +47,8 @@ export default {
|
|
///获取用户信息
|
|
///获取用户信息
|
|
deviceUrlInfo() {
|
|
deviceUrlInfo() {
|
|
deviceUrlInfo({
|
|
deviceUrlInfo({
|
|
- code: this.state,
|
|
|
|
- code: this.openId,
|
|
|
|
|
|
+ state: this.state,
|
|
|
|
+ openId: this.openId,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.flowUrl = res.data.flowUrl;
|
|
this.flowUrl = res.data.flowUrl;
|
|
@@ -60,8 +60,8 @@ export default {
|
|
getSubmit1() {
|
|
getSubmit1() {
|
|
if (this.flowUrl.length === 0) {
|
|
if (this.flowUrl.length === 0) {
|
|
deviceUrlInfo({
|
|
deviceUrlInfo({
|
|
- code: this.state,
|
|
|
|
- code: this.openId,
|
|
|
|
|
|
+ state: this.state,
|
|
|
|
+ openId: this.openId,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.flowUrl = res.data.flowUrl;
|
|
this.flowUrl = res.data.flowUrl;
|
|
@@ -84,8 +84,8 @@ export default {
|
|
getSubmit2() {
|
|
getSubmit2() {
|
|
if (this.wifiUrl.length === 0) {
|
|
if (this.wifiUrl.length === 0) {
|
|
deviceUrlInfo({
|
|
deviceUrlInfo({
|
|
- code: this.state,
|
|
|
|
- code: this.openId,
|
|
|
|
|
|
+ state: this.state,
|
|
|
|
+ openId: this.openId,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.flowUrl = res.data.flowUrl;
|
|
this.flowUrl = res.data.flowUrl;
|