소스 검색

分享招聘会不需要登录

lifanagju_citu 2 달 전
부모
커밋
a376520925
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
     }
   })