Commit ad0c891c authored by youjie's avatar youjie

no message

parent 4cad7b03
...@@ -563,13 +563,13 @@ ...@@ -563,13 +563,13 @@
if (res.resultCode == 1) { if (res.resultCode == 1) {
that.payInfo.OrderId = res.data.OrderId; that.payInfo.OrderId = res.data.OrderId;
that.payInfo.total_price = that.ds.total_price; that.payInfo.total_price = that.ds.total_price;
if(res.data.OrderStatus==5){
let info = { let info = {
OrderId:that.payInfo.OrderId, OrderId:that.payInfo.OrderId,
total_price:that.payInfo.total_price,
StuId:that.JJSWStuId, StuId:that.JJSWStuId,
TeacherIds:that.mrk, TeacherIds:that.mrk,
} }
if(res.data.OrderStatus==5){
uni.reLaunch({ uni.reLaunch({
url: '/pages/order-submit/pay-success2?payInfo=' + url: '/pages/order-submit/pay-success2?payInfo=' +
JSON.stringify(info) JSON.stringify(info)
......
...@@ -75,12 +75,12 @@ ...@@ -75,12 +75,12 @@
onLoad(option) { onLoad(option) {
if (option.payInfo) { if (option.payInfo) {
this.payInfo = JSON.parse(option.payInfo) this.payInfo = JSON.parse(option.payInfo)
if (this.payInfo.StuId) {
this.StuId = this.payInfo.StuId
} }
if (option.StuId) { if (this.payInfo.TeacherIds) {
this.StuId = option.StuId this.TeacherIds = this.payInfo.TeacherIds
} }
if (option.TeacherIds) {
this.TeacherIds = option.TeacherIds
} }
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: "支付成功", title: "支付成功",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment