Authored by zhangxiaoru

exchange

... ... @@ -496,7 +496,7 @@ const _getArticleNext = (id, appType) => {
id: id,
app_type: appType
}).then((result) => {
// console.log(result)
console.log(result)
if (result && result.code === 200) {
let nextArticle = {};
... ...
... ... @@ -37,7 +37,7 @@
{{# text}}
<div class="article-text block">
{{# data}}
{{{text}}}
<p>{{{text}}}</p>
{{/ data}}
</div>
{{/ text}}
... ...
... ... @@ -156,6 +156,7 @@ const _calcStatusRate = (num, total) => {
*/
const submitChange = (data, uid) => {
return returnsAPI.changeSubmitAsync(data, uid).then(result => {
console.log(result)
return result;
});
};
... ...
... ... @@ -61,7 +61,7 @@
"uuid": "^2.0.2",
"winston": "^2.2.0",
"winston-daily-rotate-file": "^1.1.4",
"yoho-node-lib": "0.0.38"
"yoho-node-lib": "0.0.39"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
... ...
... ... @@ -229,7 +229,7 @@ function submitChange(d) {
data: d
}).done(function(result) {
if (result.code === 200) {
location.href = '/me/return';
location.href = 'http://www.yohoblk.com/me/return/exchange/detail/?orderCode=' + result.data.apply_id;
} else {
new _alert('<h1>' + result.message + '</h1>').show();
}
... ...