1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

[小程序&后端] 修改出入码api接口

This commit is contained in:
程序员小墨 2022-11-27 22:53:56 +08:00
parent 0fd28a2150
commit fcd46cba4f
5 changed files with 7 additions and 7 deletions

View File

@ -43,7 +43,7 @@ server.on("request", async (req, res) => {
// msg: "用户名或密码不正确",
// data: null
};
} else if (req.url.startsWith('/access/getCodeInfo')) {
} else if (req.url.startsWith('/access/code/getCodeInfo')) {
result = {
success: true,
msg: "成功",

View File

@ -14,7 +14,7 @@ import java.util.HashMap;
import java.util.Map;
@Controller
@RequestMapping("/access")
@RequestMapping("/access/code")
public class CodeController {
@Autowired

View File

@ -1,7 +1,5 @@
package com.cxyxiaomo.epp.access.service;
import com.cxyxiaomo.epp.common.pojo.User;
public interface AccessService {
}

View File

@ -67,7 +67,7 @@ export default {
Taro.showLoading({ title: '加载中' })
var that = this;
Taro.request({
url: `${this.baseUrl}/access/getCodeInfo`,
url: `${this.baseUrl}/access/code/getCodeInfo`,
method: "POST",
header: {
"Content-Type": "application/x-www-form-urlencoded" //post

View File

@ -41,7 +41,7 @@
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8002/access/getCodeInfo?id=1",
"raw": "http://localhost:8002/access/code/getCodeInfo?id=1",
"protocol": "http",
"host": [
"localhost"
@ -49,6 +49,7 @@
"port": "8002",
"path": [
"access",
"code",
"getCodeInfo"
],
"query": [
@ -67,7 +68,7 @@
"method": "POST",
"header": [],
"url": {
"raw": "http://epp.only4.work/access/getCodeInfo?id=1",
"raw": "http://epp.only4.work/access/code/getCodeInfo?id=1",
"protocol": "http",
"host": [
"epp",
@ -76,6 +77,7 @@
],
"path": [
"access",
"code",
"getCodeInfo"
],
"query": [