You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
351 B
JavaScript

import $post from "../lu/post.js"
import $res from "../lu/response.js"
import $api from "./api.js"
export function yo(then) {
$post({
url: $api('YO'),
then: (response) => {
$res({
response,
then: (response) => {
then(response)
},
error: (res) => {
uni.$lu.toast(res.message);
}
})
}
})
}