framework/modelmc.mod.php

Constants

UC_CONNECT

UC_CONNECT = $uc['connect'] == 'mysql' ? 'mysql' : ''

UC_DBHOST

UC_DBHOST = $uc['dbhost']

UC_DBUSER

UC_DBUSER = $uc['dbuser']

UC_DBPW

UC_DBPW = $uc['dbpw']

UC_DBNAME

UC_DBNAME = $uc['dbname']

UC_DBCHARSET

UC_DBCHARSET = $uc['dbcharset']

UC_DBTABLEPRE

UC_DBTABLEPRE = $uc['dbtablepre']

UC_DBCONNECT

UC_DBCONNECT = $uc['dbconnect']

UC_CHARSET

UC_CHARSET = $uc['charset']

UC_KEY

UC_KEY = $uc['key']

UC_API

UC_API = $uc['api']

UC_APPID

UC_APPID = $uc['appid']

UC_IP

UC_IP = $uc['ip']

Functions

mc_update()

mc_update(  $uid,   $fields) 

[WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Parameters

$uid
$fields

mc_fetch()

mc_fetch(  $uid,   $fields = array()) 

Parameters

$uid
$fields

mc_fetch_one()

mc_fetch_one(  $uid,   $uniacid) 

Parameters

$uid
$uniacid

mc_fansinfo()

mc_fansinfo(  $openidOruid,   $acid,   $uniacid) 

Parameters

$openidOruid
$acid
$uniacid

mc_oauth_fans()

mc_oauth_fans(  $openid,   $acid) 

Parameters

$openid
$acid

mc_oauth_userinfo()

mc_oauth_userinfo(  $acid) 

Parameters

$acid

mc_oauth_account_userinfo()

mc_oauth_account_userinfo(  $url = '') 

Parameters

$url

mc_require()

mc_require(  $uid,   $fields,   $pre = '') 

Parameters

$uid
$fields
$pre

mc_credit_update()

mc_credit_update(  $uid,   $credittype,   $creditval,   $log = array()) 

Parameters

$uid
$credittype
$creditval
$log

mc_account_change_operator()

mc_account_change_operator(  $clerk_type,   $store_id,   $clerk_id) 

Parameters

$clerk_type
$store_id
$clerk_id

mc_credit_fetch()

mc_credit_fetch(  $uid,   $types = array()) 

Parameters

$uid
$types

mc_credit_types()

mc_credit_types() 

mc_groups()

mc_groups(  $uniacid) 

Parameters

$uniacid

mc_fans_groups()

mc_fans_groups(  $force_update = false) 

Parameters

$force_update

_mc_login()

_mc_login(  $member) 

Parameters

$member

mc_fields()

mc_fields() 

mc_acccount_fields()

mc_acccount_fields(  $uniacid,   $is_available = true) 

Parameters

$uniacid
$is_available

mc_init_uc()

mc_init_uc() 

mc_handsel()

mc_handsel(  $touid,   $fromuid,   $handsel,   $uniacid = '') 

Parameters

$touid
$fromuid
$handsel
$uniacid

mc_openid2uid()

mc_openid2uid(  $openid) 

Parameters

$openid

mc_uid2openid()

mc_uid2openid(  $uid) 

Parameters

$uid

mc_group_update()

mc_group_update(  $uid) 

Parameters

$uid

mc_notice_init()

mc_notice_init() 

mc_notice_public()

mc_notice_public(  $openid,   $title,   $sender,   $content,   $url = '',   $remark = '') 

Parameters

$openid
$title
$sender
$content
$url
$remark

mc_notice_recharge()

mc_notice_recharge(  $openid,   $uid,   $num,   $url = '',   $remark = '') 

Parameters

$openid
$uid
$num
$url
$remark

mc_notice_credit2()

mc_notice_credit2(  $openid,   $uid,   $credit2_num,   $credit1_num,   $store = '线下消费',   $url = '',   $remark = '谢谢惠顾,点击查看详情') 

Parameters

$openid
$uid
$credit2_num
$credit1_num
$store
$url
$remark

mc_notice_credit1()

mc_notice_credit1(  $openid,   $uid,   $credit1_num,   $tip,   $url = '',   $remark = '谢谢惠顾,点击查看详情') 

Parameters

$openid
$uid
$credit1_num
$tip
$url
$remark

mc_notice_group()

mc_notice_group(  $openid,   $old_group,   $now_group,   $url = '',   $remark = '点击查看详情') 

Parameters

$openid
$old_group
$now_group
$url
$remark

mc_notice_nums_plus()

mc_notice_nums_plus(  $openid,   $type,   $num,   $total_num,   $remark = '感谢您的支持,祝您生活愉快!') 

Parameters

$openid
$type
$num
$total_num
$remark

mc_notice_nums_times()

mc_notice_nums_times(  $openid,   $card_id,   $type,   $num,   $remark = '感谢您对本店的支持,欢迎下次再来!') 

Parameters

$openid
$card_id
$type
$num
$remark

mc_notice_times_plus()

mc_notice_times_plus(  $openid,   $card_id,   $type,   $fee,   $days,   $endtime = '',   $remark = '感谢您对本店的支持,欢迎下次再来!') 

Parameters

$openid
$card_id
$type
$fee
$days
$endtime
$remark

mc_notice_times_times()

mc_notice_times_times(  $openid,   $title,   $type,   $endtime = '',   $remark = '请注意时间,防止服务失效!',   $card_sn = '',   $use_time = '',   $has_time = '') 

Parameters

$openid
$title
$type
$endtime
$remark
$card_sn
$use_time
$has_time

mc_notice_pay_success()

mc_notice_pay_success(  $openid,   $username,   $order_sn,   $money,   $goods_info,   $title = '尊敬的客户,您的订单已支付成功',   $remark = '',   $url = '') 

Parameters

$openid
$username
$order_sn
$money
$goods_info
$title
$remark
$url

mc_notice_consume()

mc_notice_consume(  $openid,   $title,   $content,   $url = '') 

Parameters

$openid
$title
$content
$url

mc_notice_custom_text()

mc_notice_custom_text(  $openid,   $title,   $info) 

Parameters

$openid
$title
$info

mc_plugins()

mc_plugins() 

mc_init_fans_info()

mc_init_fans_info(  $openid,   $force_init_member = false) 

Parameters

$openid
$force_init_member

mc_insert_fanstag_mapping()

mc_insert_fanstag_mapping(  $fanid,   $groupid_list) 

Parameters

$fanid
$groupid_list

mc_batch_insert_fanstag_mapping()

mc_batch_insert_fanstag_mapping(  $fanid_list,   $tagid_list) 

Parameters

$fanid_list
$tagid_list

mc_show_tag()

mc_show_tag(  $groupid) 

Parameters

$groupid

mc_card_settings_hide()

mc_card_settings_hide(  $item = '') 

Parameters

$item

mc_card_grant_credit()

mc_card_grant_credit(  $openid,   $card_fee,   $storeid,   $modulename) 

Parameters

$openid
$card_fee
$storeid
$modulename

mc_current_real_uniacid()

mc_current_real_uniacid() 

mc_parse_profile()

mc_parse_profile(  $profile) 

Parameters

$profile

mc_member_export_parse()

mc_member_export_parse(  $members,   $header = array()) 

Parameters

$members
$header

mc_fans_has_member_info()

mc_fans_has_member_info(  $tag) 

Parameters

$tag

mc_fans_chats_record_formate()

mc_fans_chats_record_formate(  $chat_record) 

Parameters

$chat_record

mc_send_content_formate()

mc_send_content_formate(  $data) 

Parameters

$data

mc_fans_tag_fields()

mc_fans_tag_fields()