|
|
|
|
@ -1,7 +1,9 @@
|
|
|
|
|
package com.ruoyi.system.api.inner;
|
|
|
|
|
|
|
|
|
|
import com.github.pagehelper.Page;
|
|
|
|
|
import com.ruoyi.common.core.constant.SecurityConstants;
|
|
|
|
|
import com.ruoyi.common.core.domain.R;
|
|
|
|
|
import com.ruoyi.system.api.domain.SysUser;
|
|
|
|
|
import com.ruoyi.system.api.model.LoginUser;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
@ -27,6 +29,16 @@ public interface InnerRemoteUserService {
|
|
|
|
|
@GetMapping("/inner/user/info/phoneNumber/{phoneNumber:\\d+}")
|
|
|
|
|
R<LoginUser> getUserInfoByPhoneNumber_Inner(@PathVariable("phoneNumber") String phoneNumber, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过手机号查询用户信息
|
|
|
|
|
*
|
|
|
|
|
* @param phoneNumber 用户名
|
|
|
|
|
* @param source 请求来源
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/inner/user/list/phoneNumber/{phoneNumber:\\d+}")
|
|
|
|
|
R<Page<SysUser>> findByPhoneNumberStartingWith_Inner(@PathVariable("phoneNumber") String phoneNumber, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
|
|
|
|
|
@PutMapping("/inner/user")
|
|
|
|
|
R<LoginUser> edit_Inner(@RequestBody LoginUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
}
|