Authored by ccbikai(👎🏻🍜)

Merge remote-tracking branch 'origin/release/5.5' into gray

@@ -40,10 +40,12 @@ $area.on('click', function() { @@ -40,10 +40,12 @@ $area.on('click', function() {
40 $btnSure.on('click', function() { 40 $btnSure.on('click', function() {
41 $.post('/home/orders/changeAddress', $areaForm.serialize(), function(result) { 41 $.post('/home/orders/changeAddress', $areaForm.serialize(), function(result) {
42 if (result && result.code === 200) { 42 if (result && result.code === 200) {
43 - tip.show(result.msg); 43 + if (result.data && result.data.is_modified === 'Y') {
  44 + tip.show(result.data.tips);
  45 + }
44 location.href = document.referrer; 46 location.href = document.referrer;
45 } else { 47 } else {
46 - tip.show('系统错误,请重试!'); 48 + tip.show((result && result.message) || '系统错误,请重试!');
47 } 49 }
48 }); 50 });
49 }); 51 });