Esempio n. 1
0
def express_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = ("""管理员好!\n""" """【<a href="%s">猛戳蓝字</a>】\n""" """管理订单。""") % (
        util.make_auth_url(to_user, redirect="/login/" + C.SERVER_MANAGEMENT_MAGIC_WORD),
    )
    return text_reply(from_user, to_user, content)
Esempio n. 2
0
def express_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = ("""【<a href="%s">猛戳蓝字</a>】提交、查询订单\n""" """了解怎么取件请回复:帮助""") % (
        util.make_auth_url(to_user, redirect="/order/create"),
    )
    return text_reply(from_user, to_user, content)
Esempio n. 3
0
def help_msg():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = (
        """星海用Ho道!生活无难度~/礼物/礼物\n\n"""
        """【<a href="%s">点击进入Ho道菜单</a>】\n\n"""
        """【<a href="http://mp.weixin.qq.com/s?__biz=MzA4MDI2NjMyOA==&mid=213306361&idx=2&sn=eddd15c8099b9b75d66f4ee7136e9cdc#rd">点击获取《不小心》音乐会介绍</a>】 \n\n"""
        """找客服,请回复:E\n""" % (util.make_auth_url(to_user, redirect="/order/create"),)
    )
    return text_reply(from_user, to_user, content)
Esempio n. 4
0
def dalaba_reply():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = """Ho道已经听到你想说的话,待客服审核后将帮你群发~\n"""
    return text_reply(from_user, to_user, content)
Esempio n. 5
0
def client_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = """客服代表:\n""" """Ho道调侃帝 微信号:xhkddq\n"""
    return text_reply(from_user, to_user, content)
Esempio n. 6
0
def bd_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = """请联系我们的客服微信:xhkddq\n""" """或者致电:13-2468-68361 K先生\n"""
    return text_reply(from_user, to_user, content)
Esempio n. 7
0
def dalaba_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = """请输入 #大喇叭#你想说的话\n"""
    return text_reply(from_user, to_user, content)
Esempio n. 8
0
def hoshop_service():
    from_user = flask.g.wechat["ToUserName"]
    to_user = flask.g.wechat["FromUserName"]

    content = ("""进入Ho-shop【<a href="%s">请点击蓝字</a>】\n""" """寻求合作请回复:E""") % util.make_hoshop_url(to_user)
    return text_reply(from_user, to_user, content)