mirror of
https://gitee.com/shuto-github/intranet_app_manager.git
synced 2026-01-28 00:00:10 +08:00
添加token显示
This commit is contained in:
@@ -121,7 +121,7 @@ java -jar intranet_app_manager-1.0.0.jar
|
||||
|
||||
```shell
|
||||
# 上传到APP管理平台
|
||||
result=$(curl -F "file=@$WORKSPACE/build/Ewt360_debug/Ewt360.ipa" http://172.16.241.203/app/upload)
|
||||
result=$(curl -F "file=@$WORKSPACE/build/Ewt360_debug/Ewt360.ipa" -F "token=ec7551847a2faa3988172e648d554c20" http://172.16.241.203/app/upload)
|
||||
code_url=$(echo $result | sed 's/.*\(http.*\)",.*/\1/g')
|
||||
echo "code_url="$code_url > $WORKSPACE/code.txt
|
||||
```
|
||||
|
||||
BIN
images/index.jpg
Executable file → Normal file
BIN
images/index.jpg
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 27 KiB |
@@ -39,6 +39,7 @@ public class AppController {
|
||||
List<AppViewModel> apps = this.appService.findByUser(user, request);
|
||||
request.setAttribute("apps", apps);
|
||||
request.setAttribute("baseURL", PathManager.request(request).getBaseURL());
|
||||
request.setAttribute("token", user.getToken());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
<a class="ng-binding" th:href="${baseURL} + '/apps'">我的应用</a>
|
||||
</div>
|
||||
<i class="icon-angle-right ng-hide"></i>
|
||||
<div class="navbar-title primary-title">
|
||||
<span>我的token:[[${token}]]</span>
|
||||
</div>
|
||||
<i class="icon-angle-right ng-hide"></i>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user