Explorar o código

comment complete

StephenArk30 %!s(int64=6) %!d(string=hai) anos
pai
achega
79b8610e3f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      sourcecode/h5app/vue/src/views/giftDetail.vue

+ 2 - 2
sourcecode/h5app/vue/src/views/giftDetail.vue

@@ -220,7 +220,7 @@
                             if (orderRes.ret === '10000' && orderRes.model.list !== undefined && orderRes.model.list.length !== 0) {
                                 let order = orderRes.model.list[0];
                                 let receiverId = parseInt(order.note);
-                                that.orderId = receiverId;
+                                that.orderId = order.id;
                                 BasicFunction.get_data('smartGoods/list?goodid=' + receiverId, function (receiverRes) {
                                     console.log('----- received gift -----');
                                     try {
@@ -248,7 +248,7 @@
                 } else this.initGifts();
             },
             onloadReceiveGift(myid, status) {
-                let receiverId = this.RgiftDo.ownerId;
+                let receiverId = this.RgiftDo.goodid;
                 let that = this;
                 BasicFunction.get_data('smartIdentity/list?userId=' + receiverId, function (recvRes) {
                     try {