• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • js
  • product
  • models.js
  • 全球购详情页
    9d838469
    by 沈志敏
    2017-04-10 15:27:20 +0800  
    Browse Files
models.js 290 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
'use strict';

import {
    http
} from 'yoho-mvc';

function globalSearch(url, data) {
    return http({
        type: 'GET',
        url: location.protocol + url,
        data: data,
        xhrFields: {
            withCredentials: true
        }
    });
}

export {
    globalSearch
};