Răsfoiți Sursa

Merge branch 'master' of https://git.nanodreamtech.com/Boss/yizhizan-h5

wkw 7 luni în urmă
părinte
comite
d6d2f7a716
1 a modificat fișierele cu 5 adăugiri și 3 ștergeri
  1. 5 3
      pages/index/game/order.vue

+ 5 - 3
pages/index/game/order.vue

@@ -629,6 +629,8 @@
 			},
 			//一键投递
 			oneClickApply(item) {
+				if(!this.info.user||!this.info.user.userId)
+					return this.$queue.showToast('岗位发布者已不知所踪,请联系管理员😂😂😂😂😂😂')
 				if (uni.getStorageSync('token')) {
 					this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
 						if (res.code == 0) {
@@ -649,9 +651,9 @@
 								})
 							} else {
 								// 执行一键投递逻辑
-								this.$Request.postT("/app/sendRecord/addSendRecord", {
-									postPushId: this.postPushId,
-									resumesId: res.data.resumesId,
+								this.$Request.postT("/app/resumes/sendResumes", {
+									to: this.info.user.userId, //接收人的userId
+									postPushId: this.postPushId, //岗位id
 									resumesAttachmentId:item.resumesAttachmentId
 								}).then(res => {
 									if (res.code == 0) {