Browse Source

分享招聘会不需要登录

lifanagju_citu 2 tháng trước cách đây
mục cha
commit
a376520925
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      api/user.js

+ 2 - 2
api/user.js

@@ -353,13 +353,13 @@ export const updatePersonAvatar = (avatar) => {
 }
 
 // 获取职位分享小程序二维码
-export const getJobAdvertisedShareQrcode = (data) => {
+export const getJobAdvertisedShareQrcode = (data, custom) => {
   return request({
     url: '/app-api/menduner/system/social-user/wxa-qrcode',
     method: 'POST',
     data,
     custom: {
-      auth: true,
+      auth: custom?.noAuth ? false : true,
       showLoading: false
     }
   })