pengjing il y a 1 an
Parent
commit
ad1dfaf6ee

+ 35 - 8
h5app/src/router/index.ts

@@ -210,16 +210,43 @@ const routes: Array<RouteRecordRaw> = [
         component: DemoPage
     },
     {
-        path: '/jobUserInfo/index',
-        component: JobUserInfoIndex
-    },
-    {
-        path: '/jobUserInfo/useredit',
-        component: JobUserInfoUserEdit
+        path: '/jobUserInfo/',
+        component: WrapperLayoutView,
+        children: [
+            {
+                path: 'index',
+                name: 'index',
+                component: () => import('@/views/pages/jobUserInfo/index.vue'),
+            },
+            {
+                path: 'useredit',
+                name: 'useredit',
+                component: () => import('@/views/pages/jobUserInfo/userEdit.vue'),
+            }
+            ,
+            {
+                path: 'companyedit',
+                name: 'companyedit',
+                component: () => import('@/views/pages/jobUserInfo/companyEdit.vue'),
+            }
+        ]
     },
     {
-        path: '/jobUserInfo/companyedit',
-        component: JobUserInfoCompanyEdit
+        path: '/wxMessage/',
+        component: WrapperLayoutView,
+        children: [
+            {
+                path: 'companyInfo',
+                name: 'companyInfo',
+                component: () => import('@/views/pages/wxMessage/companyInfo.vue'),
+            },
+            {
+                path: 'jobUserInfo',
+                name: 'jobUserInfo',
+                component: () => import('@/views/pages/wxMessage/jobUserInfo.vue'),
+            }
+        ]
+
     }
 ]
 

+ 3 - 3
h5app/src/views/pages/wxMessage/companyInfo.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
-
-  </div>
+  <ion-content>
+    wx-message-companyInfo
+  </ion-content>
 </template>

+ 3 - 3
h5app/src/views/pages/wxMessage/jobUserInfo.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
-
-  </div>
+  <ion-content>
+    wxmessage-jobuserinfo
+  </ion-content>
 </template>

+ 1 - 1
src/main/java/com/hz/employmentsite/services/impl/WechatServiceImpl.java

@@ -109,7 +109,7 @@ public class WechatServiceImpl implements WechatService {
             throw new Exception("该消息已有成功推送记录,请勿重复推送!");
 
         String sendUrl = "";
-        if(stringUtils.IsNullOrEmpty(url)){
+        if(!stringUtils.IsNullOrEmpty(url)){
             sendUrl = appConfig.wxMessageBaseUrl + url;
         }