24 lines
936 B
JavaScript
Executable File
24 lines
936 B
JavaScript
Executable File
import { create } from 'apisauce'
|
|
import config from '../config'
|
|
|
|
const api = {
|
|
login:"http://takeawayapp.nirons.com:8080/app-login/",
|
|
signup: "http://takeawayapp.nirons.com:8080/reg/",
|
|
logout:"http://takeawayapp.nirons.com:8080/logout/",
|
|
getMenu:"http://takeawayapp.nirons.com:8080/menu/",
|
|
pickUpLocation:"http://takeawayapp.nirons.com:8080/pick-up-location/",
|
|
check:"http://takeawayapp.nirons.com:8080/check/",
|
|
order:"http://takeawayapp.nirons.com:8080/order/",
|
|
creditCard:"http://takeawayapp.nirons.com:8080/credit-card/",
|
|
regPushToken:"http://takeawayapp.nirons.com:8080/reg-push-token",
|
|
sysTime:"http://takeawayapp.nirons.com:8080/sys-time",
|
|
coupon:"http://takeawayapp.nirons.com:8080/coupon/",
|
|
smsVerify:'http://takeawayapp.nirons.com:8080/sms_verify_start/',
|
|
forgotPassword:'http://takeawayapp.nirons.com:8080/forgot-pwd/',
|
|
member:'http://takeawayapp.nirons.com:8080/member/'
|
|
|
|
|
|
}
|
|
|
|
export default api
|