Commit 0dbf6727 authored by Hsinli's avatar Hsinli

add

parent ae1eeb2b
Pipeline #13616 passed with stage
in 29 seconds
...@@ -12,6 +12,7 @@ class HomeService extends Service { ...@@ -12,6 +12,7 @@ class HomeService extends Service {
async home() { async home() {
const { ctx } = this; const { ctx } = this;
let ret = { let ret = {
is_login: false,
have_history: false, have_history: false,
have_be_pay: false, have_be_pay: false,
be_pay: { be_pay: {
...@@ -23,6 +24,7 @@ class HomeService extends Service { ...@@ -23,6 +24,7 @@ class HomeService extends Service {
if (!ctx.userId) { if (!ctx.userId) {
return ret; return ret;
} }
ret.is_login = true;
let taskList = [ let taskList = [
ctx.service.credit.order.getHistoryOrders('blacklist'), ctx.service.credit.order.getHistoryOrders('blacklist'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment