chore: checkpoint before switching to main
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* 红娘工作人员使用账号密码登录,与用户端分离
|
||||
*/
|
||||
const { appStore } = require('../../stores');
|
||||
const { API_BASE_URL } = require('../../env');
|
||||
|
||||
Page({
|
||||
data: {
|
||||
@@ -37,7 +38,7 @@ Page({
|
||||
try {
|
||||
const res = await new Promise((resolve, reject) => {
|
||||
wx.request({
|
||||
url: 'http://localhost:8085/api/v1/operator/auth/login',
|
||||
url: `${API_BASE_URL}/operator/auth/login`,
|
||||
method: 'POST',
|
||||
data: {
|
||||
username: this.data.username,
|
||||
|
||||
Reference in New Issue
Block a user