Commit 35158b78c2ed5b31a7cabd7af351b846ef539bf1

Authored by yvan.ni
1 parent bd4ab0a8

退款过滤器~~

pages/user/return_goods_info/fil.wxs 0 → 100644
  1 +function is_cancle(word){
  2 + if(word.indexOf('客户取消')!==-1){
  3 + return true;
  4 + }
  5 + return false;
  6 +}
  7 +module.exports = {
  8 + is_cancle:is_cancle
  9 +}
0 \ No newline at end of file 10 \ No newline at end of file
pages/user/return_goods_list/fil.wxs 0 → 100644
  1 +function set_word(word){
  2 + if(word.indexOf('客户取消')!==-1){
  3 + return '客户取消';
  4 + }
  5 + return '卖家已经拒绝退款';
  6 +}
  7 +module.exports = {
  8 + set_word:set_word
  9 +}
0 \ No newline at end of file 10 \ No newline at end of file