add 接口模块

master
wangh 8 months ago
parent 7b44f491bb
commit f402ce6df4

@ -1,11 +1,11 @@
package controller;
package com.bgs.webapi.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import seervice.LoginService;
import com.bgs.webapi.service.LoginService;
/**
* Created by wangh on 2020/7/17-15:18

@ -1,4 +1,4 @@
package mapper;
package com.bgs.webapi.mapper;
import org.apache.ibatis.annotations.Param;

@ -1,8 +1,8 @@
package seervice;
package com.bgs.webapi.service;
import com.alibaba.fastjson.JSONObject;
import mapper.LoginMapper;
import com.bgs.webapi.mapper.LoginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.pda.mapper.LoginMapper">
<mapper namespace="com.bgs.webapi.mapper.LoginMapper">
<!--登陆-->
<select id="login_getUser" resultType="java.lang.Integer">
@ -26,7 +26,7 @@
</select>
<resultMap type="com.ruoyi.pda.domain.APKVersion" id="PdaApkVersionResult">
<!-- <resultMap type="com.ruoyi.pda.domain.APKVersion" id="PdaApkVersionResult">
<result property="VersionCode" column="version_code" />
<result property="VersionName" column="version_name" />
<result property="ModifyContent" column="modify_content" />
@ -50,5 +50,5 @@
where login_name = #{name}
and u.password = #{pass}
limit 1;
</select>
</select>-->
</mapper>
Loading…
Cancel
Save