You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
708 B
31 lines
708 B
|
|
import Serve from '@/api/serve'
|
|
|
|
class Subscribe {
|
|
/**
|
|
* 请求数据
|
|
*/
|
|
static subscribeTokenList(data){
|
|
return Serve.post('/user/subscribeTokenList',data)
|
|
}
|
|
static activity(data){
|
|
return Serve.get('/subscribe/activity',data)
|
|
}
|
|
static subscribe(data){
|
|
return Serve.post('/user/subscribe',data)
|
|
}
|
|
/**
|
|
* 提交数据
|
|
* @param {object} data
|
|
* @param {string} data.amount
|
|
* @param {string} data.coin_name
|
|
*/
|
|
static subscribeNow(data){
|
|
return Serve.post('/user/subscribeNow',data)
|
|
}
|
|
static changePurchaseCode(data){
|
|
return Serve.post('/user/changePurchaseCode',data)
|
|
}
|
|
}
|
|
|
|
export default Subscribe;
|