儀表板
文件庫
filestore
活動
搜尋
登入
pcalife
/
PAM
保誠-保戶業務員媒合平台
匯總
相關日誌
提交
目錄
檔案區
分支(forks)
比對
究查
|
歷程
|
原始
Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM
HelenHuang
2021-11-15
b7de9faedf2a3e21c77c4ab3fc645ef01ac549cf
[pcalife/PAM.git]
/
pamapi
/
src
/
doc
/
顧問API
/
取得顧問頭像.txt
1
2
3
4
5
6
7
8
9
http get: http://localhost:8080/api/consultant/avatar/{fileName}
根據從顧問資料裡的img欄位的檔案名稱,取得顧問頭像的jpg檔案
example request:
http://localhost:8080/api/consultant/avatar/avatar1.jpg
response body: 二進制檔案
若該fileName不存在,會回404