|
@@ -0,0 +1,40 @@
|
|
|
+@extends('mobile.module.layouts.content')
|
|
|
+
|
|
|
+@push('meta')
|
|
|
+
|
|
|
+@endpush
|
|
|
+
|
|
|
+@push('css')
|
|
|
+ <link href="{{ theme_asset('mobile/css/members.css') }}" rel="stylesheet">
|
|
|
+@endpush
|
|
|
+
|
|
|
+@push('js')
|
|
|
+ <script src="https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/mztHybrid.js"></script>
|
|
|
+ <script src="https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/jsencrypt.js"></script>
|
|
|
+@endpush
|
|
|
+
|
|
|
+@section('content')
|
|
|
+
|
|
|
+@endsection
|
|
|
+
|
|
|
+
|
|
|
+@section('script')
|
|
|
+ <script>
|
|
|
+ app.page.onLoad = function () {
|
|
|
+ app.link.getLoginInfo(function(result) {
|
|
|
+ var userinfo = result;
|
|
|
+ var encrypt = new JSEncrypt();
|
|
|
+ encrypt.setPrivateKey(keyUtil.getPrivateKey());
|
|
|
+ var userId = encrypt.decrypt(userinfo.userId);//用户 id
|
|
|
+ var userToken = encrypt.decrypt(userinfo.USER_TOKEN);//用户 token
|
|
|
+ var userIdCard = encrypt.decrypt(userinfo.cardNum);//证件号码
|
|
|
+ var userName = encrypt.decrypt(userinfo.name);//用户姓名
|
|
|
+ alert("用户 id:" + userId + "\n 用户 token:" + userToken + "\n 证件号码:" +
|
|
|
+ userIdCard + "\n 用户姓名:" + userName);
|
|
|
+ }, function(result) {
|
|
|
+ alert(result);
|
|
|
+ })
|
|
|
+ };
|
|
|
+ </script>
|
|
|
+
|
|
|
+@endsection
|