|
@@ -26,7 +26,6 @@ class LeaveService extends CrudService {
|
|
|
const { _id } = sch;
|
|
|
const user = await this.umodel.findOne({ uid: _id, type: '2' });
|
|
|
const entity = await this.model.create(newdata);
|
|
|
- console.log(user);
|
|
|
if (user) {
|
|
|
const openid = 'ocPqjswkUejZHq2ANriNrFFC7A3I'; // user.openid
|
|
|
const date = await this.ctx.service.util.updatedate();
|