s2b.js 270 B

12345678910111213141516171819202122
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. class S2b {
  10. constructor(ctx) {
  11. this.ctx = ctx;
  12. this.db = ctx.app.mysql;
  13. }
  14. getS2bProj(pid) {
  15. return this.db.get('zh_s2b_proj', { pid });
  16. }
  17. };
  18. module.exports = S2b;