customService.RefundList.js
946 Bytes
webpackJsonp([27],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {
var $ = __webpack_require__(1),
common = __webpack_require__(2);
$(document).on('click', "#refundCoinBtn", function() {
common.util.__ajax({
url: '/profile/refundYohoCoin',
data: {uid: common.util.__input("uid"),
orderCode: common.util.__input("orderCode"),
returnYohoCoin: common.util.__input("returnYohoCoin"),
isReturnCounpon:common.util.__input("isReturnCounpon")}
}, function(res) {
console.log('data' + res.data);
console.log('message' + res.data);
var code = res.code;
if (code != 200) {
alert(res.message);
}else {
$('#uid').val("");
$('#orderCode').val("");
$('#returnYohoCoin').val("");
$('#isReturnCounpon').val("");
}
});
});
/***/ }
]);