Commit 5df338a4a89eeef688af31641e9c0d43e8bffa62
1 parent
91eda618
Exists in
master
and in
1 other branch
update ssb
Showing
1 changed file
with
23 additions
and
35 deletions
Show diff stats
ssb.js
| ... | ... | @@ -82,42 +82,30 @@ module.exports.queryCurrentPackage = async (req, res) => { |
| 82 | 82 | console.log('body', req.body); |
| 83 | 83 | |
| 84 | 84 | let response = { |
| 85 | - "resultCode": "20000", | |
| 85 | + "subscriberPackage": { | |
| 86 | + "profileType": "NON AIS", | |
| 87 | + "mobileNo": "0990621789", | |
| 88 | + "packageList": [ | |
| 89 | + { | |
| 90 | + "promotionName": "INS_NF NG PLAY PREMIUM IAP APPLE TV 99M", | |
| 91 | + "promotionCode": "4007", | |
| 92 | + "startDate": "2020-08-01 11:00:13", | |
| 93 | + "status": "A", | |
| 94 | + "packageDescEN": null, | |
| 95 | + "promotionSeq": "4007", | |
| 96 | + "packageNameTH": null, | |
| 97 | + "endDate": "2028-10-31 23:59:59", | |
| 98 | + "integrationName": null, | |
| 99 | + "packageDescTH": null, | |
| 100 | + "packageNameEN": null, | |
| 101 | + "packageType": null, | |
| 102 | + "packageID": null | |
| 103 | + } | |
| 104 | + ] | |
| 105 | + }, | |
| 86 | 106 | "developerMessage": "Success", |
| 87 | - "subscriberPackage":{ | |
| 88 | - "mobileNo": "0923029000", | |
| 89 | - "profileType":"Prepaid INS", | |
| 90 | - "packageList":[ | |
| 91 | - { | |
| 92 | - "promotionName": "โทรสบาย[1.50B]", | |
| 93 | - "packageNameEN":"xxxxxxxxx", | |
| 94 | - "packageNameTH":"xxxxxxxxx", | |
| 95 | - | |
| 96 | - "startDate": "2018-05-31 14:23:03", | |
| 97 | - "endDate": "2018-05-31 14:23:03", | |
| 98 | - "promotionCode": "7400110", | |
| 99 | - "packageType":"Main", | |
| 100 | - "integrationName":"INS_3G 1000B 60Days Net 4Mbps SWifi UL", | |
| 101 | - "packageDescEN":"xxxxxxxxx", | |
| 102 | - "packageDescTH":"xxxxxxxxx", | |
| 103 | - "promotionSeq":"1002" | |
| 104 | - }, | |
| 105 | - { | |
| 106 | - "promotionName": "M NBA Free Trial 1M 199Baht Monthly", | |
| 107 | - "packageNameEN":"xxxxxxxxx", | |
| 108 | - "packageNameTH":"xxxxxxxxx", | |
| 109 | - "promotionCode": "7400110", | |
| 110 | - "startDate": "2018-05-31 14:23:03", | |
| 111 | - "endDate": "2018-05-31 14:23:03", | |
| 112 | - "integrationName":"INS_3G 1000B 60Days Net 4Mbps SWifi UL", | |
| 113 | - "packageType":"Ontop Extra", | |
| 114 | - "packageDescEN":"xxxxxxxxx", | |
| 115 | - "packageDescTH":"xxxxxxxxx", | |
| 116 | - "promotionSeq":"1003" | |
| 117 | - } | |
| 118 | - ] | |
| 119 | - } | |
| 120 | - } | |
| 107 | + "resultCode": "20000" | |
| 108 | + } | |
| 121 | 109 | |
| 122 | 110 | res.send(response) |
| 123 | 111 | } | ... | ... |