This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package jnpf.personnels;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
/**
|
||||
* 入职api
|
||||
*/
|
||||
@FeignClient(name = "jnpf-ftb", path = "/web/personnels-emp-entry")
|
||||
public interface FtbPersonnelsEmEntryApi {
|
||||
|
||||
/**
|
||||
* 根据userId修改手机号信息
|
||||
*/
|
||||
@PutMapping("/update-phone-by-userId")
|
||||
void updatePhoneByUserId( @RequestParam("userId") String userId,
|
||||
@RequestParam("phone") String phone);
|
||||
}
|
||||
Reference in New Issue
Block a user