mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 02:08:43 +08:00 
			
		
		
		
	多模块重构 12:修改项目名字,按照新的规则
This commit is contained in:
		
							
								
								
									
										23
									
								
								yudao-ui-app-v1/api/member/userProfile.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								yudao-ui-app-v1/api/member/userProfile.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| import { request } from '@/common/js/request.js' | ||||
|  | ||||
| // 获得用户的基本信息 | ||||
| export function getUserInfo() { | ||||
|   return request({ | ||||
|     url: 'member/user/profile/get', | ||||
|     method: 'get' | ||||
|   }) | ||||
| } | ||||
|  | ||||
| // 修改 | ||||
| export function updateNickname(nickname) { | ||||
| 	return request({ | ||||
| 		url: 'member/user/profile/update-nickname', | ||||
| 		method: 'post', | ||||
| 		header: { | ||||
| 			"Content-Type": "application/x-www-form-urlencoded" | ||||
| 		}, | ||||
| 		data: { | ||||
| 			nickname | ||||
| 		} | ||||
| 	}) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV