* __http - wx.request
(obj)
| 124 | * __http - wx.request |
| 125 | */ |
| 126 | __http(obj) { |
| 127 | return new Promise((resolve, reject) => { |
| 128 | obj.success = (res) => resolve(res) |
| 129 | obj.fail = (res) => reject(res) |
| 130 | wx.request(obj) |
| 131 | }) |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * __resolve |
nothing calls this directly
no outgoing calls
no test coverage detected