@szmg-fe/tarco
Version:
function library in Taro
14 lines (10 loc) • 312 B
text/typescript
/*
* @Description: getWxCode
* @Date: 2021-04-01 10:30:45
* @Author: Lemon
* @LastEditTime: 2021-04-07 10:14:38
*/
import { compose, map } from "@szmg-fe/funba/ramda";
import prop from '@szmg-fe/funba/prop'
import Tarologin from "./login";
export const getWxCode = compose(map(prop('code')), Tarologin);